MCPcopy Create free account
hub / github.com/andeya/algorithm / ParseRule

Function ParseRule

paicehusk/stemmer.go:82–113  ·  view source on GitHub ↗

ParseRule parses a rule in the form: |suffix|intact flag|number to strip|Append|Continue flag Eg, a rule: ht*2. Means if the stem is still intact, strip the suffix th and make no further attempts to stem the word. Rule nois4j> Means strip the sion suffix, append a j and check for any more rules to

(s string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

NewRuleTableFunction · 0.85
TestParseRuleFunction · 0.85

Calls 1

ValidRuleFunction · 0.85

Tested by 1

TestParseRuleFunction · 0.68