Shallow syntactic function labeller

From Apertium
Jump to navigation Jump to search

This is Google Summer of Code 2017 project

A repository for the whole project: https://github.com/deltamachine/shallow_syntactic_function_labeller

A workplan and progress notes can be found here: Shallow syntactic function labeller/Workplan

Installation

NB: Currently only the test version for sme-nob pair is available.

Everything for installation and testing is stored here: https://github.com/deltamachine/shallow_syntactic_function_labeller/tree/master/sme-nob_testpack

Prerequisites

Instructions for installing

git clone https://github.com/deltamachine/sme-nob_testpack.git
cd sme-nob_testpack

Script add_labeller.py adds all the needed files in apertium-sme-nob directory and changes all files with modes.

Arguments:

  • apertium_path: path to your apertium-sme-nob directory
  • python_path: path to current Python interpreteur (NB: if you just type "python" instead of full path, some dependencies might not work)
  • install_mode: -install for installing the labeller and changing modes, -change for just changing modes.
  • type_of_change: -lb for using the labeller in the pipeline, -cg for using the original syntax module (sme-nob.syn.rlx.bin) in the pipeline.
python add_labeller.py /home/user/apertium/apertium-sme-nob /home/user/anaconda3/bin/python -install -lb

To do

  • Add an ability to handle more than one sentence.
  • Do more tests. MORE.
  • Write docstrings and refactore the main code.
  • Take the trash out of the github repository before the final evaluation.
  • Continue improving the perfomance of the models.