https://github.com/mnvx/syntax-tree
Syntax tree
https://github.com/mnvx/syntax-tree
nlp syntax-tree syntaxnet
Last synced: about 2 months ago
JSON representation
Syntax tree
- Host: GitHub
- URL: https://github.com/mnvx/syntax-tree
- Owner: mnvx
- Created: 2016-08-19T17:18:31.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-09T18:08:04.000Z (over 8 years ago)
- Last Synced: 2025-04-22T17:25:03.739Z (about 2 months ago)
- Topics: nlp, syntax-tree, syntaxnet
- Language: PHP
- Size: 28.3 KB
- Stars: 7
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Syntax tree
Illustration:

## How to install
Execute commands below:
```
git clone [email protected]:mnvx/syntax-tree.git
cd syntax-tree
composer install
cp src/api/Config/Configuration.php.tpl src/api/Config/Configuration.php
```Edit configuration file: `src/api/Config/Configuration.php`
Set `public` path as root directory for web server.
## How to use
Send POST request with next params.
`curl -d text="Мама мыла раму." -d format="JSON" http://`
You will achieve next result:
`[{"number":"2","text":"\u043c\u044b\u043b\u0430","children":[{"number":"1","text":"\u041c\u0430\u043c\u0430","children":[]},{"number":"3","text":"\u0440\u0430\u043c\u0443.","children":[]}]}]`