Свойство | Тип | Описание | |
---|---|---|---|
getNextPrefixInputToken | Token | ||
getNextSuffixInputToken | Token |
Метод | Описание | |
---|---|---|
PrefixAwareTokenFilter ( TokenStream prefix, TokenStream suffix ) | ||
close ( ) : void | ||
end ( ) : void | ||
incrementToken ( ) : bool | ||
reset ( ) : void | ||
updateSuffixToken ( Token suffixToken, Token lastPrefixToken ) : Token |
The default implementation adds last prefix token end offset to the suffix token start and end offsets.
|
Метод | Описание | |
---|---|---|
getNextPrefixInputToken ( Token token ) : Token | ||
getNextSuffixInputToken ( Token token ) : Token |
public PrefixAwareTokenFilter ( TokenStream prefix, TokenStream suffix ) | ||
prefix | TokenStream | |
suffix | TokenStream |
public updateSuffixToken ( Token suffixToken, Token lastPrefixToken ) : Token | ||
suffixToken | Token | a token from the suffix stream |
lastPrefixToken | Token | the last token from the prefix stream |
Результат | Token |