GitXplorerGitXplorer
s

m2-correct

public
4 stars
2 forks
0 issues

Commits

List of commits on branch master.
Verified
b924d7182b401a9d2f3743dac914cf473256e43c

Update README.md

ssamueljamesbell committed 7 years ago
Unverified
a5986621299bcd77242f51ef05025cccba3b0daa

Update README.me

ssamueljamesbell committed 7 years ago
Unverified
d326acf993f69acb7747606a1de110a39a0f6a1d

Finish applying corrections cases

ssamueljamesbell committed 7 years ago
Unverified
ffe792cd2038c966b22acab73698a8ed3041ec66

Import parsing code from nusnlp/m2scorer

ssamueljamesbell committed 7 years ago
Unverified
ed904131034272e2b6aed23e7c497bef4532431f

Add initial script and test

ssamueljamesbell committed 7 years ago
Unverified
ce09f7fbf0345602b54a109fa9f370895cbe66d2

Add Pipfile

ssamueljamesbell committed 7 years ago

README

The README file for this repository.

m2-correct

Tool to apply text error correction annotations in m2 format.

See the MaxMatch Scorer for details on file format.

Dependencies

  • Python 3.6
  • pipenv

Setup

pipenv install

Usage

To apply m2-format corrections, run:

pipenv run python correct.py foo.m2

where foo.m2 is your m2 file. This will print all sentences, with their correction annotations applied, to stdout.

License

See LICENSE.

The code in parser.py is taken from the MaxMatch Scorer, which is GNU GPL v2.0 licensed.