Documentation ¶
Index ¶
Constants ¶
View Source
const ( UNK group = iota NOUN group = iota VERB group = iota QUAL group = iota CXN group = iota )
Enumeration of group
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PennPOS ¶
type PennPOS uint8
PennPOS represents Penn Tree Part of Speech
const ( CC PennPOS = iota CD PennPOS = iota DT PennPOS = iota EX PennPOS = iota FW PennPOS = iota IN PennPOS = iota JJ PennPOS = iota JJR PennPOS = iota JJS PennPOS = iota LS PennPOS = iota MD PennPOS = iota NN PennPOS = iota NNS PennPOS = iota NNP PennPOS = iota NNPS PennPOS = iota PDT PennPOS = iota POS PennPOS = iota PRP PennPOS = iota PRPS PennPOS = iota RB PennPOS = iota RBR PennPOS = iota RBS PennPOS = iota RP PennPOS = iota SYM PennPOS = iota TO PennPOS = iota UH PennPOS = iota VB PennPOS = iota VBD PennPOS = iota VBG PennPOS = iota VBN PennPOS = iota VBP PennPOS = iota VBZ PennPOS = iota WDT PennPOS = iota WP PennPOS = iota WPS PennPOS = iota WRB PennPOS = iota PUNC PennPOS = iota )
Enumeration of PennPOS
func GetPennPOS ¶
GetPennPOS converts string representation to matching const
func (PennPOS) MarshalJSON ¶
MarshalJSON converts PennPOS into string representation in json encoding
func (*PennPOS) UnmarshalJSON ¶
UnmarshalJSON decodes PennPOS from json representation
type Phrase ¶
Phrase is a series of words within one Synth
func BuildPhrases ¶
BuildPhrases takes a sentence as a string and returns the skyset phrases that make up that sentence
type Synth ¶
type Synth int8
Synth is a type of phrase, skyset category
const ( UNKNOWN Synth = iota TOPIC Synth = iota ACTION Synth = iota RESOURCE Synth = iota PROCESS Synth = iota CONDITION Synth = iota CONNECTION Synth = iota )
Enumeration of Synth
func (Synth) MarshalJSON ¶
MarshalJSON returns string representation in json form of Synth
func (*Synth) UnmarshalJSON ¶
UnmarshalJSON decodes string representation from json of Synth
Click to show internal directories.
Click to hide internal directories.