Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultDictdir ¶
func DefaultDictdir() string
DefaultDictdir returns default dictonary directory.
Types ¶
type Dict ¶
Dict provides an interface of dictionary for Migemo.
func LoadDefault ¶
LoadDefault loads a dictionary with default dictdir.
type Matcher ¶
type Matcher interface { // Match matches with string. Match(string) (chan Match, error) // Pattern provides a regexp pattern of this match. Pattern() (string, error) // SetOptions changes matcher's options. SetOptions(MatcherOptions) // GetOptions retrieves matcher's options. GetOptions() MatcherOptions }
Matcher defines Migemo matcher interface, which have an expanded migemo tree and provides matching operations.
type MatcherOptions ¶
type MatcherOptions struct { OpOr string OpGroupIn, OpGroupOut string OpClassIn, OpClassOut string OpWSpaces string }
MatcherOptions defines options for migemo matcher (generation of regexp).
type PathAssets ¶
type PathAssets struct {
// contains filtered or unexported fields
}
PathAssets is an implementation of Assets interface with physical file system (path).
Click to show internal directories.
Click to hide internal directories.