package
module
Version:
v0.0.0-...-195dfb8
Opens a new window with list of versions in this module.
Published: Jun 1, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
README
¶
patnsvc
patn service interface
Documentation
¶
type Line struct {
Raw string `json:"raw"`
Expected string `json:"expected"`
}
Line train data, pattern apply to raw, return expected
type Pattern struct {
Expr string `json:"expr"`
Type string `json:"type"`
Score float64 `json:"score"`
}
Pattern pattern to extract expected from raw
type Request struct {
Lines []Line `json:"lines"`
}
Request http json request
type Response struct {
Patterns []Pattern `json:"patterns"`
}
Response http json response
Service interface pattern generator
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.