Advertisement
markgrenader

word values

Jul 29th, 2013
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 3.58 KB | None | 0 0
  1. public class classify {
  2.    
  3.     public static void analyze(String status){
  4. //extraversion     neuroticism   agreeableness  consientiousness    openess
  5.         if (status.contains(“Achieve”)){
  6.             addExtrav(.03);
  7.             addNeuro(.01);
  8.             addAgree(-.01);
  9.             addConsc(.02);
  10.             addOpen(-.07);
  11.         }
  12.         /*
  13.         “Affect” .03 -.07 -.04 -.06 .04
  14.         “AllPct” -.08 -.04 -.01 -.04 .10
  15.         “Anger” -.03 -.08 -.16 -.14 .06
  16.         “Anx” -.01 -.14 .03 .05 -.04
  17.         “Apostro” -.08  -.04 -.02 -.06 .05
  18.         “Article” -.08 .11 -.03 .02 .11
  19.         “Assent” .01 .02 .00 -.04 .04
  20.         “Body” -.05 -.04 -.04 -.04 .02
  21.         “Cause” .01 -.03 .00 -.04 -.05
  22.         “Certain” .05 -.01 .03 .04 .04
  23.         “Cogmech”-.03 -.02 -.02 -.06 .02
  24.         “Comm” -.02 .00 -.01 -.05 .03
  25.         “Comma” -.02 .01 -.02 -.01 .10
  26.         “Death” -.02 -.04 -.02 -.06 .05
  27.         “Dic”.05 -.09 .06 .06 -.20
  28.         “Excl” -.01 .02 -.02 -.01 .07
  29.         “Exclam” .00 -.05 .06 .00 -.03
  30.         “Family” .05 -.05 .09 .04 -.07
  31.         “Feel “-.01 -.09 .04 .02 -.04
  32.         “Fillers” -.04 .01 -.01 -.03 -.01
  33.         “Friends” .06 -.04 .02 .01 -.12
  34.         “Future” -.02 .01 .02 .07 -.04
  35.         “Groom” -.02 -.02 .01 .01 -.05
  36.         “Hear” -.03 .00 -.01 -.04 .04
  37.         “Home” -.01 -.02 .04 .06 -.15
  38.         “Humans” .04 -.02 -.03 -.08 .04
  39.         “I” .05 -.15 .05 .04 -.14
  40.         “Incl” .04 -.01 .03 .04 -.03
  41.         “Inhib” -.03 .02 -.02 -.02 .04
  42.         “Insight” -.01 -.01 .00 -.03 .05
  43.         “Job” .02 .01 .01 .05 -.05
  44.         “Leisure” -.03 .07 .03 -.01 -.05
  45.         “Metaph” -.01 .01 -.01 -.08 .08
  46.         “Motion” .03 -.01 .05 .03 -.13
  47.         “Music “-.04 .06 -.01 -.07 .10
  48.         “Negate” -.08 -.12 -.11 -.07 .01
  49.         “Negemo” -.03 -.18 -.11 -.11 .04
  50.         “Nonfl” -.03 .01 .01 -.05 .02
  51.         “Number” -.03 .05 -.03 -.02 -.06
  52.         “Occup” .03 .05 .04 .09 -.18
  53.         “Optim” .03 .04 .01 .08 -.07
  54.         “Other” .06 -.01 .03 .01 .01
  55.         “Othref” .07 .02 .01 .01 .06
  56.         “Parenth” -.06 .03 -.04 -.01 .10
  57.         “Period” -.05 -.03 -.01 -.01 .04
  58.         “Physcal “-.02 -.05 -.03 -.03 .01
  59.         “Posemo” .07 .07 .05 .02 .02
  60.         “Posfeel” .07 -.01 .03 -.02 .08
  61.         “Preps” .00 .06 .04 .08 -.04
  62.         “Present” .00 -.12 -.01 -.03 -.09
  63.         “Pronoun” .07 -.12 .04 .02 -.06
  64.         “Qmark” -.06 -.05 -.04 -.06 .08
  65.         “Quote” -.05 -.02 -.01 -.03 .09
  66.         “Relig” .00 .03 .00 -.06 .07
  67.         “Sad” .00 -.12 .00 .01 -.01
  68.         “School” .03 .05 .06 .10 -.20
  69.         “See” .00 .09 .00 -.03 .05
  70.         “Self” .07 -.14 .06 .04 -.14
  71.         “Semic” -.03 .02 .02 .00 .05
  72.         “Sexual” .07 -.02 .00 -.04 .09
  73.         “Sixltr” -.06 .06 -.05 .02 .10
  74.         “Sleep” -.01 -.03 -.02 .03 -.08
  75.         “Social” .08 .00 .02 -.02 .02
  76.         “Space” -.02 .05 .03 .01 -.04
  77.         “Sports” .01 .09 .02 .00 -.05
  78.         “Swear” -.01 .00 -.14 -.11 .08
  79.         “Tentat” -.06 -.01 -.03 -.06 .05
  80.         “Time” -.02 .02 .07 .09 -.15
  81.         “TV” -.04 .04 -.02 -.04 .04
  82.         “Unique” -.05 .10 -.04 -.05 .09
  83.         “Up” .03 .06 .02 -.01 -.06
  84.         “WC “.03 -.06 .01 .02 .05
  85.         “We” .06 .07 .04 .01 .04
  86.         “WPS” -.01 .02 .02 -.02 .06
  87.         “You” -.01 .03 -.06 -.04 .11
  88.         MRC
  89.         “AOA” -.01 .05 -.04 .06 .11
  90.         “Brown”-freq .05 -.06 .03 .06 -.07
  91.         “Conc “.02 -.06 .03 -.01 -.10
  92.         “Fam” .08-.05 .08 .05 -.17
  93.         “Imag” .05 -.04 .05 .00 -.08
  94.         “K-F-freq” -.01 .10 .00 .05 .07
  95.         “K-F-ncats” .06 -.04 .08 .07 -.12
  96.         “K-F-nsamp” .06 -.01 .03 .05 -.07
  97.         “Meanc” .06 -.10 .05 -.01 -.11
  98.         “Meanp” .02 -.02 .05 .00 -.04
  99.         “Nlet” -.09 .09 -.03 .00 .15
  100.         “Nphon” -.08 .08 -.03 .01 .14
  101.         “Nsyl” -.07 .07 -.02 .04 .13
  102.         “T-L-freq” .01 .10 .01 .06 .05
  103. */
  104.  
  105.     }
  106.  
  107. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement