// Add appends an arbitrary number of words to the corpus
Add appends an arbitrary number of words to the corpus
// Add appends an arbitrary number of words to the corpus
func (c *Corpus) Add(vals ...string) bool {
	for _, v := range vals {
		if _, ok := c.words[v]; !ok {
			c.Size++
			c.words[v] = true
		}
	}
	return true
}
func ( c * Corpus ) Add ( vals ... string ) bool { for _ , v := range vals { if _ , ok := c . words [ v ] ; ! ok { c . Size ++ c . words [ v ] = true } } return true }
Add appends an arbitrary number of words to the corpus
Add appends an arbitrary number of words to the corpus