Institutional Grammar annotator package.
Create a virtual environment:
python -m venv .env
Activate the virtual environment:
source .env/bin/activate
Install dependencies:
pip install -r requirements.txt
Add execution rights for building script:
chmod +x ./build.sh
Run build script:
./build.sh
Run annotation for example (sentence are separated by empty line):
python ig_annotator.py data/simple_example.txt simple_example-ouput.xml
Run annotation for nauka_1.txt file:
python stanfordForGoldStandard.py
If you have installed
igannotator
as python package there is an option to run tool directly from CLI:ig_annotator INPUT OUTPUT
igannotator
was written by the group of students during Text Mining course at Warsaw University of Technology.