Documentation
¶
Index ¶
- Constants
- func RuneCountInString(str string) int
- type Among
- type AmongF
- type Env
- func (env *Env) AssignTo() string
- func (env *Env) Clone() *Env
- func (env *Env) Current() string
- func (env *Env) Debug(count, lineNumber int)
- func (env *Env) EqS(s string) bool
- func (env *Env) EqSB(s string) bool
- func (env *Env) FindAmong(amongs []*Among, ctx interface{}) int32
- func (env *Env) FindAmongB(amongs []*Among, ctx interface{}) int32
- func (env *Env) GoInGrouping(chars []byte, min, max int32) bool
- func (env *Env) GoInGroupingB(chars []byte, min, max int32) bool
- func (env *Env) GoOutGrouping(chars []byte, min, max int32) bool
- func (env *Env) GoOutGroupingB(chars []byte, min, max int32) bool
- func (env *Env) Hop(delta int) bool
- func (env *Env) HopBack(delta int) bool
- func (env *Env) HopBackChecked(delta int) bool
- func (env *Env) HopChecked(delta int) bool
- func (env *Env) InGrouping(chars []byte, min, max int32) bool
- func (env *Env) InGroupingB(chars []byte, min, max int32) bool
- func (env *Env) Insert(bra, ket int, s string)
- func (env *Env) NextChar()
- func (env *Env) OutGrouping(chars []byte, min, max int32) bool
- func (env *Env) OutGroupingB(chars []byte, min, max int32) bool
- func (env *Env) PrevChar()
- func (env *Env) ReplaceS(bra, ket int, s string) int32
- func (env *Env) SetCurrent(s string)
- func (env *Env) SliceDel()
- func (env *Env) SliceFrom(s string)
- func (env *Env) SliceTo() string
Constants ¶
View Source
const MaxInt = math.MaxInt32
View Source
const MinInt = math.MinInt32
Variables ¶
This section is empty.
Functions ¶
func RuneCountInString ¶
RuneCountInString is a wrapper around utf8.RuneCountInString this allows us to not have to conditionally include the utf8 package into some stemmers and not others
Types ¶
type Env ¶
type Env struct {
Cursor int
Limit int
LimitBackward int
Bra int
Ket int
// contains filtered or unexported fields
}
Env represents the Snowball execution environment
func (*Env) FindAmongB ¶
func (*Env) HopBackChecked ¶
func (*Env) HopChecked ¶
func (*Env) SetCurrent ¶
Click to show internal directories.
Click to hide internal directories.