reader

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2016 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package reader extend the dsv reader by adding option to set revision directory that will be used by package revision.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader struct {
	// Reader of dsv
	dsv.Reader
	// RevisionDir define directory where Wikipedia revision exist.
	RevisionDir string `json:"RevisionDir"`
	// RevisionCleanDir define directory where Wikipedia revision that
	// has been cleaned up located.
	RevisionCleanDir string `json:"RevisionCleanDir"`
}

Reader is dsv.Reader with RevisionDir option.

func NewReader

func NewReader(config string) (reader *Reader, e error)

NewReader create and return new dsv reader to read dataset from file.

Jump to

Keyboard shortcuts

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