A flask-based prototype UI for annotation of qualia relations between FrameNet Lexical Units inferred from an external knowledge base
Clone the repository cd to it.
git clone https://github.com/slowwavesleep/QualiaAnnotationUI.git
cd QualiaAnnotationUI
Create and activate a virtual environment for the project. I suggest using Anaconda.
conda env -n qualia python=3.7
conda activate qualia
Install the requirements.
pip install -r requirements.txt
Run the application.
flask run
To annotate a different dataset replace qualia_relations.csv in resources directory with a new file.
Or alternatively, change data_path in config.yml to point to the new file. In both cases the file must in CSV format (comma-separated specifically)
with the following columns:
indexid_lu_1word_1pos_1fnDefinition_1relationid_lu_2word_2pos_2
The tool uses SQLite to persist user annotations between the launches. Made annotations may be downloaded in CSV format.
