Skip to content

Repository files navigation

Main Scripts

Train the POS Tagger

python build_tagger.py <train_filename> <devt_filename> <model_filename>

Example:

python build_tagger.py sents.train sents.devt model_file

Run the POS Tagger

python run_tagger.py <test_filename> <model_filename> <output_filename>

Example:

python run_tagger.py sents.test model_file out_file

Additional Scripts for Testing

To convert a tagged data (e.g. train or development data) to untagged data:

python convert_tagged_to_untagged.py <tagged_filename> <output_filename>

Example:

python convert_tagged_to_untagged.py sents_small.devt sents_small.test

To compare between original tagged and generate tagged files:

python compare.py <original_tagged_filename> <generated_tagged_filename>

Example:

python compare.py sents_small.devt out_file

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages