To compile:
cd src
javac kwic/KWIC.java
In the same location, run the program with:
java kwic.KWIC -i [path-to-input-file]
Note: You can also open the project with IntelliJ, where there is an existing run configuration that runs with -i ./input.txt
.
The options are:
-input, -i Path to input file
-output, -o [optional] Path to output file, defaults to ./output.txt
-ignore, -g [optional] Path to words to ignore file, defaults to no words to ignore
-architecture, -a [optional] Type of architecture to use: [adt/subroutine], defaults to adt