Exemplo n.º 1
0
        private static void ExternalLanguageReading()
        {
            var tr        = new LanguageReader(@"C:\Users\harun_000\Dropbox\nuve\nuve-studio\lang\tr-TR").Read();
            var solutions = tr.Analyze("yolsuzu");

            Console.WriteLine(tr.Type.CultureCode);

            foreach (var solution in solutions)
            {
                Console.WriteLine("\t{0}", solution);
                Console.WriteLine("\toriginal:{0} stem:{1} root:{2}\n",
                                  solution.GetSurface(),
                                  solution.GetStem().GetSurface(),
                                  solution.Root); //Stemming
            }
        }