edu.stanford.nlp.util.Function



API Populatity

1 Client projects

Project: edu.stanford

Package: edu.stanford.nlp

Project stanfordnlp/CoreNLP in file ...src.edu.stanford.nlp.parser.lexparser.Lexicon.java (2014-07-03)
@@ -11,6 +11,7 @@ import java.util.Set;
 
 import edu.stanford.nlp.ling.TaggedWord;
 import edu.stanford.nlp.trees.Tree;
+import edu.stanford.nlp.util.Function;
 
 
 /**
@@ -60,7 +61,7 @@ public interface Lexicon extends Serializable {
    *
    * @return The Set of tags used by this tagger
    */
-  Set<String> tagSet();
+  Set<String> tagSet(Function<String,String> basicCategoryFunction);
 
   /**
    * Get an iterator over all rules (pairs of (word, POS)) for this word.
Project stanfordnlp/CoreNLP in file ...src.edu.stanford.nlp.parser.lexparser.Lexicon.java (2014-09-08)
@@ -7,11 +7,9 @@ import java.io.Writer;
 import java.util.Collection;
 import java.util.Iterator;
 import java.util.List;
-import java.util.Set;
 
 import edu.stanford.nlp.ling.TaggedWord;
 import edu.stanford.nlp.trees.Tree;
-import edu.stanford.nlp.util.Function;
 
 
 /**
@@ -57,12 +55,6 @@ public interface Lexicon extends Serializable {
    */
   boolean isKnown(String word);
 
-  /** Return the Set of tags used by this tagger (available after training the tagger).
-   *
-   * @return The Set of tags used by this tagger
-   */
-  Set<String> tagSet(Function<String,String> basicCategoryFunction);
-
   /**
    * Get an iterator over all rules (pairs of (word, POS)) for this word.
    *
Project stanfordnlp/CoreNLP in file ...src.edu.stanford.nlp.parser.lexparser.Lexicon.java (2014-07-22)
@@ -7,9 +7,11 @@ import java.io.Writer;
 import java.util.Collection;
 import java.util.Iterator;
 import java.util.List;
+import java.util.Set;
 
 import edu.stanford.nlp.ling.TaggedWord;
 import edu.stanford.nlp.trees.Tree;
+import edu.stanford.nlp.util.Function;
 
 
 /**
@@ -55,6 +57,12 @@ public interface Lexicon extends Serializable {
    */
   boolean isKnown(String word);
 
+  /** Return the Set of tags used by this tagger (available after training the tagger).
+   *
+   * @return The Set of tags used by this tagger
+   */
+  Set<String> tagSet(Function<String,String> basicCategoryFunction);
+
   /**
    * Get an iterator over all rules (pairs of (word, POS)) for this word.
    *