https://github.com/hugo53/husyntactic
A syntactic parser uses CYK (CKY), Earley. Best fit for English, Vietnamese.
https://github.com/hugo53/husyntactic
cky cky-algorithm cky-parser earley earley-algorithm earley-parser nlp nlp-parsing python syntactic-analysis syntactic-parser syntactic-parsing vietnamese
Last synced: 19 days ago
JSON representation
A syntactic parser uses CYK (CKY), Earley. Best fit for English, Vietnamese.
- Host: GitHub
- URL: https://github.com/hugo53/husyntactic
- Owner: hugo53
- Created: 2011-12-08T10:23:26.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2018-07-26T04:23:17.000Z (about 7 years ago)
- Last Synced: 2025-04-19T21:08:38.607Z (6 months ago)
- Topics: cky, cky-algorithm, cky-parser, earley, earley-algorithm, earley-parser, nlp, nlp-parsing, python, syntactic-analysis, syntactic-parser, syntactic-parsing, vietnamese
- Language: Python
- Homepage:
- Size: 319 KB
- Stars: 3
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HUsyntactic
Author : Minh-Hoang, Nguyen
Email : hoangnm[dot]53[at]gmail[dot]com
Description :
A syntactic analyzer uses CYK algorithm and
Earley algorithm## HOW TO USE?
You can use command:
```
$ python HUsyntactic.py -a [c|e] -g grammarFile -l lexiconFile -s sentenceFile -o outFile
-a : type of algorithm.
c for cyk
e for earley
-g : name of file contains grammar rules
-l : name of file contains lexcicon rules
-s : name of file contains sentences
-o : name of output file
```### Example:
```
$ pwd
HUsyntactic/src
$ python HUsyntactic.py -a c
-g data/ckyData/GRAMMAR.IN
-l data/ckyData/LEXICON.IN
-s data/ckyData/SENTENCES.IN -o data/ckyData/OUTFILE.OUT
```## DOCUMENTATION
Please see HUsyntactic.pdf ( It's in Vietnamese! )## LICENSE
All HUsyntactic source files are made available under the terms of the
GNU Affero General Public License (AGPL). See GNU-AGPL-3.0 files for
details.