config

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2017 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package config is used for lexicon configuration settings (work in progress, not ready for proper use!)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Lexicons    []string             // lexicon name(s) in some db
	StatusNames []string             // should be in some (the lex?) db
	PosTags     []string             // should be in some (the lex?) db
	Languages   []string             // should be in some (the lex?) db
	Users       []string             // should be in some (the lex?) db
	Sources     []string             // should be in some (the lex?) db
	Encoding    string               // should be in some (the lex?) db
	OrthCharsRe string               // should be in some (the lex?) db
	Validator   validation.Validator // should be in some (the lex?) db?
	LineParsers []line.Parser        // should be in some (the lex?) db?
	TTSMapper   string               //??
}

Config configuration used with a lexicon

type JSON

type JSON struct {
	Lexicons    []string `json:"lexicons"`
	StatusNames []string `json:"statusNames"`
	PosTags     []string `json:"posTags"`
	Languages   []string `json:"languages"`
	Users       []string `json:"users"`
	Sources     []string `json:"string"`
	Encoding    string   `json:"encoding"`
	OrthCharsRe string   `json:"orthCharsRe"`
	Validator   string   `json:"validator"`
	LineParsers []string `json:"lineParsers"`
	TTSMapper   string   `json:"ttsMapper"`
}

JSON representation of a configuration used with a lexicon (string values only)

Jump to

Keyboard shortcuts

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