JaMorphData

Represents Japanese morphological information.

Inheritors

Functions

Link copied to clipboard
abstract 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
abstract fun getInflectionForm(wordId: Int): String?

Get inflection form of tokens, or null

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

Get inflection type of tokens, or null

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

Get Part-Of-Speech of tokens

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

Get pronunciation of tokens

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

Get reading of tokens

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