Package io.opsit.explang.autosuggest
Class Tokenization
- java.lang.Object
-
- io.opsit.explang.autosuggest.Tokenization
-
public class Tokenization extends Object
-
-
Field Summary
Fields Modifier and Type Field Description StringtokenIntegertokenIndexinttokenPosList<LanguageToken>tokens
-
Constructor Summary
Constructors Constructor Description Tokenization()Construct empty structure.Tokenization(List<LanguageToken> tokens, Integer tokenIndex, String token, int tokenPos)Construct Tokenization structure for parsed tokens.
-
-
-
Field Detail
-
token
public String token
-
tokenPos
public int tokenPos
-
tokens
public List<LanguageToken> tokens
-
tokenIndex
public Integer tokenIndex
-
-
Constructor Detail
-
Tokenization
public Tokenization()
Construct empty structure.
-
Tokenization
public Tokenization(List<LanguageToken> tokens, Integer tokenIndex, String token, int tokenPos)
Construct Tokenization structure for parsed tokens.
-
-