Token

class Token(surfaceForm: CharArray, offset: Int, length: Int, startOffset: Int, endOffset: Int, morphId: Int, type: TokenType, morphData: JaMorphData) : Token

Analyzed token with morphological data from its dictionary.

Constructors

Link copied to clipboard
constructor(surfaceForm: CharArray, offset: Int, length: Int, startOffset: Int, endOffset: Int, morphId: Int, type: TokenType, morphData: JaMorphData)

Properties

Link copied to clipboard
Link copied to clipboard
val length: Int
Link copied to clipboard
val offset: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Returns true if this token is known word

Link copied to clipboard

Returns true if this token is unknown word

Link copied to clipboard

Returns true if this token is defined in user dictionary

Link copied to clipboard
open override fun toString(): String