public static Lexicon buildWumpusLex(){
  Lexicon l=new Lexicon();
  ArrayList<LexWord> list=new ArrayList<LexWord>();
  list.add(new LexWord("stench",(float)0.05));
  list.add(new LexWord("breeze",(float)0.10));
  list.add(new LexWord("wumpus",(float)0.15));
  list.add(new LexWord("pits",(float)0.05));
  list.add(new LexWord("friend",(float)0.10));
  list.add(new LexWord("enemy",(float)0.10));
  list.add(new LexWord("dog",(float)0.10));
  list.add(new LexWord("superhero",(float)0.20));
  list.add(new LexWord("virus",(float)0.15));
  l.put("NOUN",list);
  ArrayList<LexWord> verbList=new ArrayList<LexWord>();
  verbList.add(new LexWord("is",(float)0.10));
  verbList.add(new LexWord("feel",(float)0.10));
  verbList.add(new LexWord("smells",(float)0.10));
  verbList.add(new LexWord("stinks",(float)0.05));
  verbList.add(new LexWord("wants",(float)0.20));
  verbList.add(new LexWord("flies",(float)0.10));
  verbList.add(new LexWord("keeps",(float)0.05));
  verbList.add(new LexWord("leaves",(float)0.10));
  verbList.add(new LexWord("throws",(float)0.20));
  l.put("VERB",verbList);
  ArrayList<LexWord> adjList=new ArrayList<LexWord>();
  adjList.add(new LexWord("right",(float)0.10));
  adjList.add(new LexWord("dead",(float)0.05));
  adjList.add(new LexWord("smelly",(float)0.02));
  adjList.add(new LexWord("breezy",(float)0.02));
  adjList.add(new LexWord("foul",(float)0.10));
  adjList.add(new LexWord("black",(float)0.05));
  adjList.add(new LexWord("white",(float)0.05));
  adjList.add(new LexWord("callous",(float)0.10));
  adjList.add(new LexWord("proud",(float)0.10));
  adjList.add(new LexWord("right",(float)0.10));
  adjList.add(new LexWord("gold",(float)0.06));
  adjList.add(new LexWord("normal",(float)0.25));
  l.put("ADJS",adjList);
  l.addLexWords("ADVERB","here","0.05","ahead","0.05","nearby","0.02","quickly","0.05","badly","0.05","slowly","0.08","sadly","0.10","silently","0.10","easily","0.10","seldom","0.10","sometimes","0.10","loudly","0.10","cordially","0.05","frequently","0.05");
  l.addLexWords("PRONOUN","me","0.10","you","0.03","i","0.10","it","0.10","us","0.07","they","0.20","he","0.20","she","0.20");
  l.addLexWords("RELPRO","that","0.40","which","0.15","who","0.20","whom","0.02","whose","0.08","whabt","0.15");
  l.addLexWords(buildNameLexicon());
  l.addLexWords("ARTICLE","the","0.40","a","0.30","an","0.10","every","0.05","some","0.15");
  l.addLexWords("PREP","to","0.20","in","0.10","on","0.05","near","0.10","after","0.10","among","0.05","around","0.20","against","0.10","across","0.10");
  l.addLexWords("CONJ","and","0.50","or","0.10","but","0.20","yet","0.02","since","0.08","unless","0.10");
  l.addLexWords("DIGIT","0","0.20","1","0.20","2","0.20","3","0.20","4","0.20");
  return l;
}

public static Lexicon buildWumpusLex ( ) { Lexicon l = new Lexicon ( ) ; ArrayList < LexWord > list = new ArrayList < LexWord > ( ) ; list . add ( new LexWord ( "stench" , ( float ) 0.05 ) ) ; list . add ( new LexWord ( "breeze" , ( float ) 0.10 ) ) ; list . add ( new LexWord ( "wumpus" , ( float ) 0.15 ) ) ; list . add ( new LexWord ( "pits" , ( float ) 0.05 ) ) ; list . add ( new LexWord ( "friend" , ( float ) 0.10 ) ) ; list . add ( new LexWord ( "enemy" , ( float ) 0.10 ) ) ; list . add ( new LexWord ( "dog" , ( float ) 0.10 ) ) ; list . add ( new LexWord ( "superhero" , ( float ) 0.20 ) ) ; list . add ( new LexWord ( "virus" , ( float ) 0.15 ) ) ; l . put ( "NOUN" , list ) ; ArrayList < LexWord > verbList = new ArrayList < LexWord > ( ) ; verbList . add ( new LexWord ( "is" , ( float ) 0.10 ) ) ; verbList . add ( new LexWord ( "feel" , ( float ) 0.10 ) ) ; verbList . add ( new LexWord ( "smells" , ( float ) 0.10 ) ) ; verbList . add ( new LexWord ( "stinks" , ( float ) 0.05 ) ) ; verbList . add ( new LexWord ( "wants" , ( float ) 0.20 ) ) ; verbList . add ( new LexWord ( "flies" , ( float ) 0.10 ) ) ; verbList . add ( new LexWord ( "keeps" , ( float ) 0.05 ) ) ; verbList . add ( new LexWord ( "leaves" , ( float ) 0.10 ) ) ; verbList . add ( new LexWord ( "throws" , ( float ) 0.20 ) ) ; l . put ( "VERB" , verbList ) ; ArrayList < LexWord > adjList = new ArrayList < LexWord > ( ) ; adjList . add ( new LexWord ( "right" , ( float ) 0.10 ) ) ; adjList . add ( new LexWord ( "dead" , ( float ) 0.05 ) ) ; adjList . add ( new LexWord ( "smelly" , ( float ) 0.02 ) ) ; adjList . add ( new LexWord ( "breezy" , ( float ) 0.02 ) ) ; adjList . add ( new LexWord ( "foul" , ( float ) 0.10 ) ) ; adjList . add ( new LexWord ( "black" , ( float ) 0.05 ) ) ; adjList . add ( new LexWord ( "white" , ( float ) 0.05 ) ) ; adjList . add ( new LexWord ( "callous" , ( float ) 0.10 ) ) ; adjList . add ( new LexWord ( "proud" , ( float ) 0.10 ) ) ; adjList . add ( new LexWord ( "right" , ( float ) 0.10 ) ) ; adjList . add ( new LexWord ( "gold" , ( float ) 0.06 ) ) ; adjList . add ( new LexWord ( "normal" , ( float ) 0.25 ) ) ; l . put ( "ADJS" , adjList ) ; l . addLexWords ( "ADVERB" , "here" , "0.05" , "ahead" , "0.05" , "nearby" , "0.02" , "quickly" , "0.05" , "badly" , "0.05" , "slowly" , "0.08" , "sadly" , "0.10" , "silently" , "0.10" , "easily" , "0.10" , "seldom" , "0.10" , "sometimes" , "0.10" , "loudly" , "0.10" , "cordially" , "0.05" , "frequently" , "0.05" ) ; l . addLexWords ( "PRONOUN" , "me" , "0.10" , "you" , "0.03" , "i" , "0.10" , "it" , "0.10" , "us" , "0.07" , "they" , "0.20" , "he" , "0.20" , "she" , "0.20" ) ; l . addLexWords ( "RELPRO" , "that" , "0.40" , "which" , "0.15" , "who" , "0.20" , "whom" , "0.02" , "whose" , "0.08" , "whabt" , "0.15" ) ; l . addLexWords ( buildNameLexicon ( ) ) ; l . addLexWords ( "ARTICLE" , "the" , "0.40" , "a" , "0.30" , "an" , "0.10" , "every" , "0.05" , "some" , "0.15" ) ; l . addLexWords ( "PREP" , "to" , "0.20" , "in" , "0.10" , "on" , "0.05" , "near" , "0.10" , "after" , "0.10" , "among" , "0.05" , "around" , "0.20" , "against" , "0.10" , "across" , "0.10" ) ; l . addLexWords ( "CONJ" , "and" , "0.50" , "or" , "0.10" , "but" , "0.20" , "yet" , "0.02" , "since" , "0.08" , "unless" , "0.10" ) ; l . addLexWords ( "DIGIT" , "0" , "0.20" , "1" , "0.20" , "2" , "0.20" , "3" , "0.20" , "4" , "0.20" ) ; return l ; }
builds an expanded version of the ' wumpus lexicon ' found on page 891 of aima v3
