Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConcExamples ¶
type ConcExamples struct {
Lines []ConcordanceLine `json:"lines"`
}
type ConcordanceLine ¶
type ConcordanceLine struct { Text TokenSlice `json:"text"` Ref string `json:"ref"` }
type LineParser ¶
type LineParser struct {
// contains filtered or unexported fields
}
func NewLineParser ¶
func NewLineParser(attrs []string) *LineParser
func (*LineParser) Parse ¶
func (lp *LineParser) Parse(data mango.GoConcExamples) []ConcordanceLine
Parse converts Manatee-encoded concordance lines into MQuery format. It also escapes strings to make them usable in XML documents.
type TokenSlice ¶
type TokenSlice []*Token
Click to show internal directories.
Click to hide internal directories.