Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.09 KB

README.md

File metadata and controls

37 lines (27 loc) · 1.09 KB

autocg

autocg generates a VISL CG-3 compatible Constraint Grammar file that can be used for part-of-speech disambiguation. It takes an annotated corpus in Apertium stream format as an input.

Usage

Install streamparser to your computer. Then run:

$ ./autocg.py <annotated-corpus> -t <threshold> -m <min-count>

To get the documentation of the command line options run

$ ./autocg.py -h

License

autocg is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

autocg is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with autocg. If not, see http://www.gnu.org/licenses/.