|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectopennlp.tools.namefind.DictionaryNameFinder
public class DictionaryNameFinder
This is a dictionary based name finder, it scans text for names inside a dictionary.
| Constructor Summary | |
|---|---|
DictionaryNameFinder(Dictionary dictionary)
Initializes the current instance. |
|
| Method Summary | |
|---|---|
void |
clearAdaptiveData()
Forgets all adaptive data which was collected during previous calls to one of the find methods. |
Span[] |
find(String[] tokenStrings)
Generates name tags for the given sequence, typically a sentence, returning token spans for any identified names. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DictionaryNameFinder(Dictionary dictionary)
dictionary - | Method Detail |
|---|
public Span[] find(String[] tokenStrings)
TokenNameFinder
find in interface TokenNameFindertokenStrings - an array of the tokens or words of the sequence, typically a sentence.
public void clearAdaptiveData()
TokenNameFinder
clearAdaptiveData in interface TokenNameFinder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||