Documentation ¶
Index ¶
Constants ¶
View Source
const ( // POSHierarchy represents part-of-speech hierarchy // e.g. Columns 動詞,自立,*,* are POSs which hierarchy depth is 4. POSHierarchy = 4 // InflectionalType represents 活用型 (e.g. 五段・カ行促音便) InflectionalType FeatureIndex = 4 // InflectionalForm represents 活用形 (e.g. 連用タ接続) InflectionalForm = 5 // BaseForm represents 基本形 (e.g. 行く) BaseForm = 6 // Reading represents 読み (e.g. コウエン) Reading = 7 // Pronunciation represents 発音 (e.g. コーエン) Pronunciation = 8 )
Features are information given to a word, such as follows: 公園 名詞,一般,*,*,*,*,公園,コウエン,コーエン に 助詞,格助詞,一般,*,*,*,に,ニ,ニ 行っ 動詞,自立,*,*,五段・カ行促音便,連用タ接続,行く,イッ,イッ た 助動詞,*,*,*,特殊・タ,基本形,た,タ,タ EOS
View Source
const DictName = "IPA"
DictName represents a dictionary name to identify. You can retrieve this name via dict.dictInfo.Name field.
Variables ¶
This section is empty.
Functions ¶
func DictShrink ¶
DictShrink returns a dictionary without content part. note. If an unshrinked dictionary already exists, this function returns it.
Types ¶
type FeatureIndex ¶
type FeatureIndex = int
Click to show internal directories.
Click to hide internal directories.