Documentation ¶
Index ¶
- func ReadFile(fileName string, r DocumentReader, idx index.Index, opts interface{}, ...) error
- func ReadTerms(fileName string, r DocumentReader, idx index.Index, chunk int, ...) (finalTerms []string, err error)
- type DocumentReader
- type PmcReader
- type RedditReader
- type Stats
- type WikipediaAbstractsReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DocumentReader ¶
DocumentReader implements parsing a data source and yielding documents
type RedditReader ¶
type RedditReader struct{}
type WikipediaAbstractsReader ¶
type WikipediaAbstractsReader struct {
// contains filtered or unexported fields
}
func NewWikipediaAbstractsReader ¶
func NewWikipediaAbstractsReader() *WikipediaAbstractsReader
func (*WikipediaAbstractsReader) LoadScores ¶
func (r *WikipediaAbstractsReader) LoadScores(fileName string) error
Click to show internal directories.
Click to hide internal directories.