func (w *SnowballWord) slice(start, stop int) []rune {
	startMin := 0
	if start < startMin {
		start = startMin
	}
	max := len(w.RS) - 1
	if start > max {
		start = max
	}
	if stop > max {
		stop = max
	}
	return w.RS[start:stop]
}
func (w *SnowballWord) slice(start, stop int) []rune {
	startMin := 0
	if start < startMin {
		start = startMin
	}
	max := len(w.RS) - 1
	if start > max {
		start = max
	}
	if stop > max {
		stop = max
	}
	return w.RS[start:stop]
}
func ( w * SnowballWord ) slice ( start , stop int ) [ ] rune { startMin := 0 if start < startMin { start = startMin } max := len ( w . RS ) - 1 if start > max { start = max } if stop > max { stop = max } return w . RS [ start : stop ] }
// Return a slice of w.RS, allowing the start
// and stop to be out of bounds.
//
Return a slice of w . RS allowing the start and stop to be out of bounds .