Back | WordLists

PortugueseStemmer - portugueseStemmer.txt

Download Complete Wordlist (7.89 K)
Download Complete Wordlist bzip2 Compressed (1.32 K)
Showing 40 Randomly Sampled Lines...
if ((word[len-1]=='d') && (word[len-2]=='a')) {
if (word[i] == '') {
}
if ((word[len]=='e') && (word[len-1]=='t') && (word[len-2]=='n') &&
word[len]='o';
word[len-2]='e'; /* papis (plur) --> papel (sing) */
return(word);
removeAllPTAccent (word)
static char *removeAllPTAccent ();
word[len-2]=''; /* botes (plur) --> boto (sing) */
((word[len-2]=='e') || (word[len-2]==''))) {
{
word[len-1]='l'; /* error: faceis (plur) --> facil (sing) */
word[len-1]='\0'; /* doutores (plur) --> doutor (sing) */
if ((word[len]=='s') && (word[len-1]=='i')) {
if (word[i] == '') {
}
if ((word[len-1]=='c') && (word[len-2]=='i')) {
/* -iaca -> iaco */
if (((word[len]=='s') && (word[len-1]=='i')) &&
word[len-1]='m'; /* homens (plur) --> homem (sing) */
static char *finalVowelPortuguese();
}
word[i] = 'u';
if ((word[len-1]=='r') && (word[len-2]=='i') && (word[len-3]=='e')) {
if (word[i] == '') {
finalVowelPortuguese(word);
word[len]='\0';
if ((word[len-1]=='s') && (word[len-2]=='e')) {
if (word[len-1]=='n') {
/* -ida -> ido */
if ((word[len]=='s') && (word[len-1]=='n')) {
/* -na -> no */
/* -ora -> or */
if ((word[len]=='s') && (word[len-1]=='i')
char *word;
word[i] = 'a';
word[len]='\0';
word[len-2]='';
}


Back | WordLists