public void Execute(List <string> inputList, List <string> noiseWords)
        {
            input       = new Input();
            lineStorage = new LineStorage();
            input.Read(inputList, lineStorage);

            circularShifter = new CircularShifter(lineStorage);
            circularShifter.Shift();

            alphabetizer = new Alphabetizer(circularShifter);
            alphabetizer.Alphabetize();
            LineIndexLength = alphabetizer.LineIndexLength;

            Output output = new Output(alphabetizer, noiseWords);


            KWICOutPut = output.Write();
        }
Exemplo n.º 2
0
 public Alphabetizer(CircularShifter circularShifter)
 {
     this.circularShifter = circularShifter;
     LineIndexLength      = circularShifter.LineIndexLength;
     CharCoreLength       = circularShifter.CharCoreLength;
 }