Exemplo n.º 1
0
        // The main word processing algorithm
        public static void ProcessWords(IWordReader reader, IWordProcessor processor)
        {
            string word;
            while((word = reader.ReadWord()) != null) {
                processor.ProcessWord(word);
            }

            processor.Finish();
        }
Exemplo n.º 2
0
        // The main word processing algorithm
        public static void ProcessWords(IWordReader reader, IWordProcessor processor)
        {
            string word;

            while ((word = reader.ReadWord()) != null)
            {
                processor.ProcessWord(word);
            }

            processor.Finish();
        }
Exemplo n.º 3
0
 public void Run()
 {
     RunWithoutFinish();
     Processor.Finish();
 }