Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseTrainingInput ¶
ParseTrainingInput attempts to extract sentences from the given byte stream by interpreting it as one of a number of text formats:
- HTML
- RSS or Atom with HTML body text
- Markdown
- Plain text
It uses the given optional filename and mimeType to guess which parser to use. If both are given, the mimeType has precedence. If neither filename nor mimeType are set then it will fail, returning an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.