parser

package
v0.0.0-...-166fa37 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2020 License: BSD-2-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RedditReaderOpen

func RedditReaderOpen(r io.Reader) (indexer.DocumentReader, error)

func RedditSchema

func RedditSchema() *redisearch.Schema

func StackExchangeReaderOpen

func StackExchangeReaderOpen(r io.Reader) (indexer.DocumentReader, error)

func StackSchema

func StackSchema() *redisearch.Schema

func TwitterReaderOpen

func TwitterReaderOpen(r io.Reader) (indexer.DocumentReader, error)

func TwitterSchema

func TwitterSchema() *redisearch.Schema

func WikiAbstractReaderOpen

func WikiAbstractReaderOpen(r io.Reader) (indexer.DocumentReader, error)

func WikiArticleReaderOpen

func WikiArticleReaderOpen(r io.Reader) (wr indexer.DocumentReader, err error)

WikiArticleReaderOpen Create new reader for wikipedia article dumps

func WikipediaSchema

func WikipediaSchema() *redisearch.Schema

Types

type RedditReader

type RedditReader struct {
	// contains filtered or unexported fields
}

func (*RedditReader) Read

func (rr *RedditReader) Read() (doc redisearch.Document, err error)

type StackExchangeReader

type StackExchangeReader struct {
	// contains filtered or unexported fields
}

func NewStackExchangeReader

func NewStackExchangeReader(r io.Reader) *StackExchangeReader

func (*StackExchangeReader) Read

func (wr *StackExchangeReader) Read() (doc redisearch.Document, err error)

type TwitterReader

type TwitterReader struct {
	// contains filtered or unexported fields
}

func (*TwitterReader) Read

func (rr *TwitterReader) Read() (doc redisearch.Document, err error)

type WikipediaAbstractsReader

type WikipediaAbstractsReader struct {
	// contains filtered or unexported fields
}

func NewWikipediaAbstractReader

func NewWikipediaAbstractReader(r io.Reader) *WikipediaAbstractsReader

func (*WikipediaAbstractsReader) Read

func (wr *WikipediaAbstractsReader) Read() (doc redisearch.Document, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL