func preprocess(word *snowballword.SnowballWord) {

	// Clean up apostrophes
	normalizeApostrophes(word)
	trimLeftApostrophes(word)

	// Capitalize Y's that are not behaving
	// as vowels.
	capitalizeYs(word)

	// Find the two regions, R1 & R2
	r1start, r2start := r1r2(word)
	word.R1start = r1start
	word.R2start = r2start
}
func preprocess(word *snowballword.SnowballWord) {

	
	normalizeApostrophes(word)
	trimLeftApostrophes(word)

	
	
	capitalizeYs(word)

	
	r1start, r2start := r1r2(word)
	word.R1start = r1start
	word.R2start = r2start
}
func preprocess ( word * snowballword . SnowballWord ) { // Clean up apostrophes normalizeApostrophes ( word ) trimLeftApostrophes ( word ) // Capitalize Y's that are not behaving // as vowels. capitalizeYs ( word ) // Find the two regions, R1 & R2 r1start , r2start := r1r2 ( word ) word . R1start = r1start word . R2start = r2start }
// Applies various transformations necessary for the
// other, subsequent stemming steps.  Most important
// of which is defining the two regions R1 & R2.
//
Applies various transformations necessary for the other subsequent stemming steps . Most important of which is defining the two regions R1 & R2 .