nlp

package module
v0.0.0-...-8ac4559 Latest Latest
Warning

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

Go to latest
Published: May 22, 2018 License: MIT Imports: 5 Imported by: 1

README

nlp

GitHub license Go Report Card GoDoc

Create and manage note of NLP(neuro linguistic programming), see wiki

Documentation

Index

Constants

View Source
const (
	ResourceLocation = "./res"
)

Variables

This section is empty.

Functions

func LoadResource

func LoadResource(lang Language) (lines map[Language]string, err error)

Types

type Language

type Language string

Language type of language

func GetLanguageList

func GetLanguageList() (langs []Language, err error)

GetLanguageList return list of allowable language

type NamedResource

type NamedResource interface {
	GetName() string
}

type Resource

type Resource struct {
	StringArrays []StringArray `xml:"string-array"`
	Strings      []String      `xml:"string"`
}

type String

type String struct {
	Name   string `xml:"name,attr"`
	Item   string `xml:",innerxml"`
	Ignore string `xml:"tools:ignore,attr"`
}

func (String) GetName

func (s String) GetName() string

type StringArray

type StringArray struct {
	Name string   `xml:"name,attr"`
	Item []string `xml:"item"`
}

func (StringArray) GetName

func (sa StringArray) GetName() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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