Documentation ¶
Index ¶
Constants ¶
View Source
const ( BOMS = "\tBOS,,,,,,,," EOMS = "\tEOS,,,,,,,," )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MeCabS ¶
type MeCabS struct {
mecab.MeCab
}
func (*MeCabS) NewPhraseString ¶
func (m *MeCabS) NewPhraseString(s string) (PhraseString, error)
type Morpheme ¶
type Morpheme struct { OriginalForm string PartOfSpeech string PartOfSpeechSection1 string PartOfSpeechSection2 string PartOfSpeechSection3 string ConjugatedForm1 string ConjugatedForm2 string Inflection string Reading string Pronounciation string }
func (*Morpheme) MorphemeString ¶
func (m *Morpheme) MorphemeString() MorphemeString
type MorphemeString ¶
type MorphemeString string
func MakeMorphemeString ¶
func MakeMorphemeString(s string) MorphemeString
func (MorphemeString) Morpheme ¶
func (m MorphemeString) Morpheme() Morpheme
type Output ¶
type Output string
func (Output) PhraseString ¶
func (o Output) PhraseString() PhraseString
type Phrase ¶
type Phrase []Morpheme
func (Phrase) OriginalForm ¶
func (Phrase) PhraseString ¶
func (p Phrase) PhraseString() PhraseString
func (Phrase) Pronounciation ¶
type PhraseString ¶
type PhraseString []MorphemeString
func (PhraseString) Phrase ¶
func (p PhraseString) Phrase() Phrase
Click to show internal directories.
Click to hide internal directories.