func findRegions(word *snowballword.SnowballWord) (r1start, r2start, rvstart int) {

	// R1 & R2 are defined in the standard manner.
	r1start = romance.VnvSuffix(word, isLowerVowel, 0)
	r2start = romance.VnvSuffix(word, isLowerVowel, r1start)

	// Set RV, by default, as empty.
	rvstart = len(word.RS)

	// RV is the region after the first vowel, or the end of
	// the word if it contains no vowel.
	//
	for i := 0; i < len(word.RS); i++ {
		if isLowerVowel(word.RS[i]) {
			rvstart = i + 1
			break
		}
	}

	return
}
func findRegions(word *snowballword.SnowballWord) (r1start, r2start, rvstart int) {

	
	r1start = romance.VnvSuffix(word, isLowerVowel, 0)
	r2start = romance.VnvSuffix(word, isLowerVowel, r1start)

	
	rvstart = len(word.RS)

	
	
	
	for i := 0; i < len(word.RS); i++ {
		if isLowerVowel(word.RS[i]) {
			rvstart = i + 1
			break
		}
	}

	return
}
func findRegions ( word * snowballword . SnowballWord ) ( r1start , r2start , rvstart int ) { // R1 & R2 are defined in the standard manner. r1start = romance . VnvSuffix ( word , isLowerVowel , 0 ) r2start = romance . VnvSuffix ( word , isLowerVowel , r1start ) // Set RV, by default, as empty. rvstart = len ( word . RS ) // RV is the region after the first vowel, or the end of // the word if it contains no vowel. // for i := 0 ; i < len ( word . RS ) ; i ++ { if isLowerVowel ( word . RS [ i ] ) { rvstart = i + 1 break } } return }
// Find the starting point of the regions R1, R2, & RV
//
Find the starting point of the regions R1 R2 & RV