Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectWords ¶
func CollectWords(r io.Reader, targets ...SpeechPart) ([]string, error)
func Preprocess ¶
Preprocess do some processes to realize proper word counts. This gets io.Reader then returns io.Reader, because in some cases, this preprocess might not be used.
Types ¶
type SpeechPart ¶
type SpeechPart int
const ( Noun SpeechPart = iota Verb Adjective )
func (SpeechPart) String ¶
func (sp SpeechPart) String() string
Click to show internal directories.
Click to hide internal directories.