You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by jo...@apache.org on 2011/05/30 10:27:49 UTC
svn commit: r1129052 -
/incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/postag/POSDictionary.java
Author: joern
Date: Mon May 30 08:27:49 2011
New Revision: 1129052
URL: http://svn.apache.org/viewvc?rev=1129052&view=rev
Log:
OPENNLP-127 Added a javadoc comment
Modified:
incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/postag/POSDictionary.java
Modified: incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/postag/POSDictionary.java
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/postag/POSDictionary.java?rev=1129052&r1=1129051&r2=1129052&view=diff
==============================================================================
--- incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/postag/POSDictionary.java (original)
+++ incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/postag/POSDictionary.java Mon May 30 08:27:49 2011
@@ -151,6 +151,9 @@ public class POSDictionary implements It
dictionary.put(word, tags);
}
+ /**
+ * Retrieves an iterator over all words in the dictionary.
+ */
public Iterator<String> iterator() {
return dictionary.keySet().iterator();
}