Stem() public méthode

Returns the stem for the given word.
public Stem ( string word ) : string
word string The word to stem.
Résultat string
Exemple #1
0
        public override void Execute()
        {
            //set defaults for optional parameters
            if (StemFile == null)
            {
                StemFile = @"lib\KStem.txt";
            }

            FileStemmer stemmer = new FileStemmer(StemFile);
            Console.WriteLine("{0} -> {1}", Word, stemmer.Stem(Word));
        }