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(); }
public Output(Alphabetizer alpha, List <string> noiseWords) { this.alpha = alpha; this.noiseWords = noiseWords; }