Documentation ¶
Index ¶
- func New(doc io.ReadSeeker, toLower bool, maxCount, minCount int) corpus.Corpus
- type Corpus
- func (c *Corpus) BatchWords(chan []int, int) error
- func (c *Corpus) Cooccurrence() *co.Cooccurrence
- func (c *Corpus) Dictionary() *dictionary.Dictionary
- func (c *Corpus) IndexedDoc() []int
- func (c *Corpus) Len() int
- func (c *Corpus) Load(with *corpus.WithCooccurrence, verbose *verbose.Verbose, logBatch int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Corpus ¶
type Corpus struct {
// contains filtered or unexported fields
}
func (*Corpus) Cooccurrence ¶
func (c *Corpus) Cooccurrence() *co.Cooccurrence
func (*Corpus) Dictionary ¶
func (c *Corpus) Dictionary() *dictionary.Dictionary
func (*Corpus) IndexedDoc ¶
Click to show internal directories.
Click to hide internal directories.