示例#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();
        }
示例#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();
        }
示例#3
0
文件: Program.cs 项目: lunakv/Skola
 public void Run()
 {
     RunWithoutFinish();
     Processor.Finish();
 }