public class DictionaryDetokenizer extends java.lang.Object implements Detokenizer
DetokenizationDictionary
object.Detokenizer
,
DetokenizationDictionary
Detokenizer.DetokenizationOperation
Constructor and Description |
---|
DictionaryDetokenizer(DetokenizationDictionary dict) |
Modifier and Type | Method and Description |
---|---|
Detokenizer.DetokenizationOperation[] |
detokenize(java.lang.String[] tokens)
Detokenize the input tokens.
|
java.lang.String |
detokenize(java.lang.String[] tokens,
java.lang.String splitMarker)
Detokenize the input tokens into a String.
|
public DictionaryDetokenizer(DetokenizationDictionary dict)
public Detokenizer.DetokenizationOperation[] detokenize(java.lang.String[] tokens)
Detokenizer
detokenize
in interface Detokenizer
tokens
- the tokens to detokenize.public java.lang.String detokenize(java.lang.String[] tokens, java.lang.String splitMarker)
Detokenizer
detokenize
in interface Detokenizer
tokens
- the token which should be concatenatedsplitMarker
- the split marker or nullCopyright © 2010 - 2020 Adobe. All Rights Reserved