Documentation ¶
Overview ¶
Chinese-English dictionary database functions
Package for looking up words and multiword expressions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Searcher ¶ added in v0.0.5
type Searcher struct {
// contains filtered or unexported fields
}
Searcher looks up Chinese words by either Chinese or English.
If the dictionary searcher cannot connect to the database then it will run in degraded mode by looking up Chinese words form dictionary file.
func NewSearcher ¶ added in v0.0.5
Initialize SQL statements
func (*Searcher) DatabaseInitialized ¶ added in v0.0.12
Returns the word senses with English approximate or Pinyin exact match
Click to show internal directories.
Click to hide internal directories.