test_class.file: storm/trident-ml/src/test/java/com/github/pmerienne/trident/ml/nlp/VocabularyTest.java
test_class.identifier: VocabularyTest
test_case.body: @Test
  	public void testAddAll() {
  		Vocabulary vocabulary = new Vocabulary();
  		vocabulary.addAll(Arrays.asList("only one", "we are 2", "we are 2"));
  
  		assertEquals(1, vocabulary.count("only one").intValue());
  		assertEquals(2, vocabulary.count("we are 2").intValue());
  		assertEquals(0, vocabulary.count("I'm not here").intValue());
  	}
test_case.class_method_signature: VocabularyTest.testAddAll()
test_case.full_signature: @Test public void testAddAll()
test_case.identifier: testAddAll
test_case.invocations: addAll asList assertEquals intValue count assertEquals intValue count assertEquals intValue count
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testAddAll()
focal_class.declarator: serialVersionUID = 7827671824674205961L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = 7827671824674205961L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.declarator: wordCounts = new ValueComparableMap<String, Integer>(Ordering.natural().reverse())
focal_class.modifier: private
focal_class.original_string: private TreeMap<String, Integer> wordCounts = new ValueComparableMap<String, Integer>(Ordering.natural().reverse());
focal_class.type: TreeMap<String, Integer>
focal_class.var_name: wordCounts
focal_class.declarator: size = 0
focal_class.modifier: private
focal_class.original_string: private Integer size = 0;
focal_class.type: Integer
focal_class.var_name: size
focal_class.file: storm/trident-ml/src/main/java/com/github/pmerienne/trident/ml/nlp/Vocabulary.java
focal_class.identifier: Vocabulary
focal_class.interfaces: implements Iterable<String>, Serializable
focal_class.class_method_signature: Vocabulary.Vocabulary()
focal_class.full_signature: public  Vocabulary()
focal_class.identifier: Vocabulary
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  Vocabulary()
focal_class.class_method_signature: Vocabulary.Vocabulary(List<String> words)
focal_class.full_signature: public  Vocabulary(List<String> words)
focal_class.identifier: Vocabulary
focal_class.modifiers: public
focal_class.parameters: (List<String> words)
focal_class.signature:  Vocabulary(List<String> words)
focal_class.class_method_signature: Vocabulary.add(String word)
focal_class.full_signature: public void add(String word)
focal_class.identifier: add
focal_class.modifiers: public
focal_class.parameters: (String word)
focal_class.return: void
focal_class.signature: void add(String word)
focal_class.class_method_signature: Vocabulary.addAll(List<String> words)
focal_class.full_signature: public void addAll(List<String> words)
focal_class.identifier: addAll
focal_class.modifiers: public
focal_class.parameters: (List<String> words)
focal_class.return: void
focal_class.signature: void addAll(List<String> words)
focal_class.class_method_signature: Vocabulary.limitWords(Integer maxWords)
focal_class.full_signature: public void limitWords(Integer maxWords)
focal_class.identifier: limitWords
focal_class.modifiers: public
focal_class.parameters: (Integer maxWords)
focal_class.return: void
focal_class.signature: void limitWords(Integer maxWords)
focal_class.class_method_signature: Vocabulary.count(String word)
focal_class.full_signature: public Integer count(String word)
focal_class.identifier: count
focal_class.modifiers: public
focal_class.parameters: (String word)
focal_class.return: Integer
focal_class.signature: Integer count(String word)
focal_class.class_method_signature: Vocabulary.frequency(String word)
focal_class.full_signature: public Double frequency(String word)
focal_class.identifier: frequency
focal_class.modifiers: public
focal_class.parameters: (String word)
focal_class.return: Double
focal_class.signature: Double frequency(String word)
focal_class.class_method_signature: Vocabulary.contains(String word)
focal_class.full_signature: public Boolean contains(String word)
focal_class.identifier: contains
focal_class.modifiers: public
focal_class.parameters: (String word)
focal_class.return: Boolean
focal_class.signature: Boolean contains(String word)
focal_class.class_method_signature: Vocabulary.wordCount()
focal_class.full_signature: public Integer wordCount()
focal_class.identifier: wordCount
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Integer
focal_class.signature: Integer wordCount()
focal_class.class_method_signature: Vocabulary.totalCount()
focal_class.full_signature: public Integer totalCount()
focal_class.identifier: totalCount
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Integer
focal_class.signature: Integer totalCount()
focal_class.class_method_signature: Vocabulary.iterator()
focal_class.full_signature: @Override public Iterator<String> iterator()
focal_class.identifier: iterator
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Iterator<String>
focal_class.signature: Iterator<String> iterator()
focal_class.class_method_signature: Vocabulary.wordSet()
focal_class.full_signature: public Set<String> wordSet()
focal_class.identifier: wordSet
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Set<String>
focal_class.signature: Set<String> wordSet()
focal_class.class_method_signature: Vocabulary.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: public void addAll(List<String> words) {
  		for (String word : words) {
  			this.add(word);
  		}
  	}
focal_method.class_method_signature: Vocabulary.addAll(List<String> words)
focal_method.full_signature: public void addAll(List<String> words)
focal_method.identifier: addAll
focal_method.invocations: add
focal_method.modifiers: public
focal_method.parameters: (List<String> words)
focal_method.return: void
focal_method.signature: void addAll(List<String> words)