No project description provided
Project description
PyFCG
A Python interface to FCG and Babel, built on FCG Go.
Installation
To install this package from test.PyPI run the following command.
pip install pyfcg --index-url https://test.pypi.org/simple --no-deps
Use
Start a PyFCG session with:
import pyfcg as fcg
fcg.init(port=9600)
This starts up FCG Go, listening at port 9600.
Then:
fcg.load_demo_grammar()
fcg.start_web_interface(port=8010,open=True)
fcg.activate_monitors(['trace-fcg'])
fcg.comprehend("the linguist likes the mouse", grammar='*fcg-constructions*')
And you can enjoy everything at http://localhost:8010 !
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyfcg-0.1b0.tar.gz
(8.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pyfcg-0.1b0-py3-none-any.whl
(9.9 kB
view details)
File details
Details for the file pyfcg-0.1b0.tar.gz.
File metadata
- Download URL: pyfcg-0.1b0.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3de96304d35e0efc696bd17f5d89fe3ef2098d829eaa46fa32a3d13ec03dcb6
|
|
| MD5 |
5f4a5bf34b88531ee3ec5a26a78495e6
|
|
| BLAKE2b-256 |
84965df2444d303273b278b4d04b08ca345f88b202172cb32ef297d187b83589
|
File details
Details for the file pyfcg-0.1b0-py3-none-any.whl.
File metadata
- Download URL: pyfcg-0.1b0-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4443a1facca21833fc76d1eacaa9f7ca427ff787db570506b37ef56398cf3d79
|
|
| MD5 |
2c8f7cf8a3751465e56c1616f2201b9d
|
|
| BLAKE2b-256 |
3ec659f3502be48fb4c06293d675282eb6616034962b6b6cda827e21ca552873
|