Skip to content

florentinecitron/nnnlp-subword-pos-tagger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Implementation of

Plank et al. Multilingual Part-of-Speech Tagging with Bidirectional Long-Short Term Memory Models and Auxiliary Loss. ACL 2016

Installation

Install polyglot dependencies

sudo apt-get install python-numpy libicu-dev

Install project dependencies (assuming working pyenv setup)

echo nnnlp_conda > .python-version
pyenv virtualenv miniconda3-latest nnnlp_conda
pip install -r requirements.txt

Download polyglot resources

polyglot download LANG:fi
polyglot download LANG:en
polyglot download LANG:de
polyglot download LANG:id

Download data

cd data
curl --remote-name-all https://lindat.mff.cuni.cz/repository/xmlui/bitstream/handle/11234/1-1548{/ud-treebanks-v1.2.tgz,/ud-documentation-v1.2.tgz,/ud-tools-v1.2.tgz}
tar xvf ud-treebanks-v1.2.tgz

Run

Run main experiment

python code/run.py run_experiment results.csv

Run experiment on performance vs. dataset set

python code/run.py run_experiments_data_size results_data_size.csv

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages