Package opennlp.tools.tokenize
Schnittstelle Detokenizer
- Alle bekannten Implementierungsklassen:
DictionaryDetokenizer
public interface Detokenizer
A
Detokenizer merges tokens back to their detokenized representation.-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypSchnittstelleBeschreibungstatic enumThis enum contains an operation for every token to merge the tokens together to their detokenized form. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdetokenize(String[] tokens) Detokenizes the collection of tokens.detokenize(String[] tokens, String splitMarker) Detokenizes the inputtokensinto a String.
-
Methodendetails
-
detokenize
Detokenizes the collection of tokens.- Parameter:
tokens- The elements which should be detokenized.- Gibt zurück:
- The
merge operationsto handle giventokens.
-
detokenize
Detokenizes the inputtokensinto a String. Tokens which are connected without awhitespacecharacter in between can be separated by a givensplitMarker.- Parameter:
tokens- The elements which should be concatenated.splitMarker- The split marker ornull.- Gibt zurück:
- The concatenated tokens as a single string.
-