pizza = pizzeria
This commit is contained in:
parent
0995495e88
commit
d8971679f2
@ -25,6 +25,7 @@ sub normalize($self, $text) {
|
||||
my $stemmer = Lingua::Stem::Snowball->new( lang => 'es' );
|
||||
$stemmer->stem_in_place(\@words);
|
||||
$decomposed = join " ", @words;
|
||||
$decomposed =~ s/\bpizzeri\b/pizz/g;
|
||||
return $decomposed;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user