Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dictionary ¶
func NewDictionary ¶
func NewDictionary() *Dictionary
func (*Dictionary) AddWord ¶
func (d *Dictionary) AddWord(word string)
func (*Dictionary) AddWords ¶
func (d *Dictionary) AddWords(words []string)
func (*Dictionary) Words2BOW ¶
func (d *Dictionary) Words2BOW(words []string) BOW
func (*Dictionary) Words2CBOW ¶
func (d *Dictionary) Words2CBOW(words []string, window int) CBOW
Click to show internal directories.
Click to hide internal directories.