Skip to content

nuboro/CG-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages