networkrailcorpus

package
v0.0.0-...-73876c2 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Corpus

type Corpus struct {
	TiplocData []TiplocData `json:"TIPLOCDATA"`
}

func (*Corpus) Import

func (c *Corpus) Import(dataset datasets.DataSet, datasource *ctdf.DataSource) error

func (*Corpus) ParseFile

func (c *Corpus) ParseFile(reader io.Reader) error

type TiplocData

type TiplocData struct {
	NLC        int
	STANOX     string
	TIPLOC     string
	ThreeAlpha string `json:"3ALPHA"`
	UIC        string
	NLCDESC    string
	NLCDESC16  string
}

Jump to

Keyboard shortcuts

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