Skip to content

Commit

Permalink
OPENNLP-1302: add missing param tags (#374)
Browse files Browse the repository at this point in the history
* add missing param tags

* OPENNLP-1302: add missing param tags
  • Loading branch information
jongwoojeff committed May 14, 2020
1 parent 918f42f commit bc13b3d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ public Normalizer() {
* Initializes the current instance with the given context.
* <p>
* Note: Do all initialization in this method, do not use the constructor.
* @param context context to initialize
*/
public void initialize(UimaContext context)
throws ResourceInitializationException {
Expand Down Expand Up @@ -146,6 +147,7 @@ public void initialize(UimaContext context)

/**
* Initializes the type system.
* @param typeSystem type system to initialize
*/
public void typeSystemInit(TypeSystem typeSystem)
throws AnalysisEngineProcessException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,19 @@ public StringDictionary(InputStream in) throws IOException {
});
}

/**
* Returns a corresponding String value from hash map.
* @param key key to get value with
*/
public String get(StringList key) {
return entries.get(key);
}

/**
* Adds a new entry to hash map.
* @param key key to put
* @param value value to put
*/
public void put(StringList key, String value) {
entries.put(key, value);
}
Expand Down

0 comments on commit bc13b3d

Please sign in to comment.