This is a simple annotator tool
- conda create --name anna python=3.7
- pip install -r requirements.txt
- Go down a level
cd anna
- Review
config.yaml
it will describe what you want to analyze.
labels_config
is a list of labels you want to assign.
index_cols
- the column used as index andtarget
the column you absolutely need to annotate
- Place the input file into
data/datasets
make sure it matches some config available or add a new config. Note, the tool expects csv files and those will be read with pandas.read_csv() - Run as
python app.py
. Annotations are saved todata/annotations
- Do not forget to restart the server if you add new files or new configs,
NB: Annotations use the column specified as index_cols
if that column is not unique, annotation will be ambiguous
This is Alex, he is an example
- Notice how there can be a number of labels per row (defined in the config file)
- You can label and un-label as you like and feel
- If two lines have the same index, labels will be ambiguous