DecompoundToken

class DecompoundToken(posTag: POS.Tag, surfaceForm: String, startOffset: Int, endOffset: Int, type: TokenType) : Token

A token that was generated from a compound.

Constructors

Link copied to clipboard
constructor(posTag: POS.Tag, surfaceForm: String, startOffset: Int, endOffset: Int, type: TokenType)

Properties

Link copied to clipboard
Link copied to clipboard
open override val leftPOS: POS.Tag

Get the left part of speech of the token.

Link copied to clipboard
val length: Int
Link copied to clipboard
open override val morphemeArray: Array<KoMorphData.Morpheme>? = null

Get the KoMorphData.Morpheme decomposition of the token.

Link copied to clipboard
val offset: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val posType: POS.Type

Get the POS.Type of the token.

Link copied to clipboard
open override val readingValue: String? = null

Get the reading of the token.

Link copied to clipboard
open override val rightPOS: POS.Tag

Get the right part of speech of the token.

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

Functions

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