UnknownMorphData

Morphological information for unk dictionary.

Constructors

Link copied to clipboard
constructor(buffer: ByteBuffer, posResource: IOSupplier<InputStream>)

Functions

Link copied to clipboard
open override fun getBaseForm(morphId: Int, surface: CharArray, off: Int, len: Int): String?

Get base form of word (only different for inflected words, otherwise null)

Link copied to clipboard
open override fun getInflectionForm(wordId: Int): String?

Get inflection form of tokens, or null

Link copied to clipboard
open override fun getInflectionType(morphId: Int): String?

Get inflection type of tokens, or null

Link copied to clipboard
open override fun getLeftId(morphId: Int): Int
Link copied to clipboard
open override fun getPartOfSpeech(morphId: Int): String?

Get Part-Of-Speech of tokens

Link copied to clipboard
open override fun getPronunciation(morphId: Int, surface: CharArray, off: Int, len: Int): String?

Get pronunciation of tokens

Link copied to clipboard
open override fun getReading(morphId: Int, surface: CharArray, off: Int, len: Int): String?

Get reading of tokens

Link copied to clipboard
open override fun getRightId(morphId: Int): Int
Link copied to clipboard
open override fun getWordCost(morphId: Int): Int