Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/norinorin/syntree-gen
A simple syntax tree generator
https://github.com/norinorin/syntree-gen
Last synced: about 1 month ago
JSON representation
A simple syntax tree generator
- Host: GitHub
- URL: https://github.com/norinorin/syntree-gen
- Owner: norinorin
- License: mit
- Created: 2023-10-31T17:49:45.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-09T08:33:55.000Z (6 months ago)
- Last Synced: 2024-07-09T11:02:43.609Z (6 months ago)
- Language: Python
- Size: 65.4 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# syntree-gen
A constituency-based parse tree generator.### Phrase markers
syntree-gen takes phrase markers as input. For example, the input `[S [N John] [VP [V hit] [NP [D the] [N ball.]]]]` will result in:
### Installing prerequisites and running
```bash
pip install -r requirements.txt
python -OOm src -h
```