Skip to content

Katsutoshii/JPCFG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JPCFG

Japanese Probabilistic Context Free Grammar

Requires: Python 3.6

To install all dependencies, run pip install -r requirements.txt from the root.

Usage instructions

The program should be run as follows from the root directory JPCFG:

Run python src/main.py pcfg to test the PCFG on the Aozora corpus.

Run python src/main.py seg to test the Segmenter on the Aozora corpus.

Run python src/main.py full to test both.

See data/out.txt for lots of evidence of the program running and creating parse trees.

About

Japanese Probabilistic Context Free Grammar

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published