A Python port of Fluid Construction Grammar
Project description
PyFCG
A Python interface to FCG and Babel, built on FCG Go.
Installation
To install this package from PyPI, run the following command.
$ pip install pyfcg
Use
Start a PyFCG session with:
import pyfcg as fcg
fcg.init()
Walkthrough examples
Walkthrough example showcasing how PyFCG can be integrated in typical use cases of FCG are provided in the form of interactive notebooks:
- Construction grammar formalisation and testing
- Learning construction grammars from corpora
- Agent-based models of emergent communication
Documentation
The tecnical documentation of PyFCG is available at Read the Docs.
How to cite
Van Eecke, P., & Beuls, K. (2025). PyFCG: Fluid Construction Grammar in Python. arXiv preprint.
@article{vaneecke2025pyfcg,
author = {Paul {Van Eecke} and Katrien Beuls},
title = {PyFCG: Fluid Construction Grammar in Python.},
year = {2025},
journal = {arXiv preprint arXiv:},}
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
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
File details
Details for the file pyfcg-0.1b5.tar.gz.
File metadata
- Download URL: pyfcg-0.1b5.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83621c1593e6b4cce4713ce966447f036122730756114b284f9844b230b668af
|
|
| MD5 |
969e3e30f58577338e3596f67177d5b5
|
|
| BLAKE2b-256 |
4cd6d3befcec727d8e21b51e28c2e37884ffb127d04ef34f3da91b596bdac86e
|
File details
Details for the file pyfcg-0.1b5-py3-none-any.whl.
File metadata
- Download URL: pyfcg-0.1b5-py3-none-any.whl
- Upload date:
- Size: 13.4 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 |
8957d39643ee16eae300b3b417b583f338f5e06b2b9aa7496ceeed88d00334fa
|
|
| MD5 |
9e203af3df70799495cbf0d4a0ac026d
|
|
| BLAKE2b-256 |
2fb9efbcddc3e23fccc702bfb2486d32f4900d3b2b71aed1750cd4a84ce9b4f5
|