ClassicTokenizerImpl

This class implements the classic lucene StandardTokenizer up until 3.0

Constructors

Link copied to clipboard
constructor(in: Reader)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val CJ: Int
Link copied to clipboard
Link copied to clipboard
val EMAIL: Int
Link copied to clipboard
val HOST: Int
Link copied to clipboard
val NUM: Int
Link copied to clipboard

Functions

Link copied to clipboard

Resumes scanning until the next regular expression is matched, the end of input is encountered or an I/O-Error occurs.

Link copied to clipboard

Fills CharTermAttribute with the current token text.

Link copied to clipboard
fun setBufferSize(numChars: Int)
Link copied to clipboard

Returns whether the scanner has reached the end of the reader it reads from.

Link copied to clipboard
fun yybegin(newState: Int)

Enters a new lexical state.

Link copied to clipboard
fun yychar(): Int
Link copied to clipboard
fun yycharat(position: Int): Char

Returns the character at the given position from the matched text.

Link copied to clipboard
fun yyclose()

Closes the input reader.

Link copied to clipboard
fun yylength(): Int

How many characters were matched.

Link copied to clipboard
fun yypushback(number: Int)

Pushes the specified amount of characters back into the input stream.

Link copied to clipboard
fun yyreset(reader: Reader)

Resets the scanner to read from a new input stream.

Link copied to clipboard
fun yystate(): Int

Returns the current lexical state.

Link copied to clipboard
fun yytext(): String

Returns the text matched by the current regular expression.