You can use Fluid Construction Grammar in two ways:
- Using the FCG Editor
(recommended for users with little programming experience)
- As part of the Babel software toolkit
If you opt for the full installation, you need to download FCG as part of the Babel software toolkit. Babel is a flexible toolkit for implementing and running agent-based experiments on emergent communication. The Babel system includes advanced modules for constructional language processing and learning (Fluid Construction Grammar), conceptualising and interpreting procedural semantic structures (Incremental Recruitment Language), and conducting multi-agent experiments in simulated environments or using physical robots. The technical documentation for the Babel framework is available here .
If you quickly want to test Fluid Construction Grammar without installing the complete Babel framework, you can use the FCG editor.
To use the FCG editor, you first need to install graphviz in order to make use of FCG’s visualizations.
1. Install Graphviz
sudo apt-get install graphviz
If you have homebrew or macports installed, use either of them to install graphviz. Otherwise:
open terminal.app and enter the following line:
- Open terminal.app
- Enter the following:
- Install homebrew using these instructions: https://brew.sh/
- Type the following in terminal.app:
brew install graphviz
- Download graphiv-2.38.msi
- Double click to install — follow the installation procedures
- Click the magnifying glass in the lower left corner of the screen type, ‘control panel’ and open it.
- Control Panel > System > Advanced system settings > Environment Variables…
- Click Path > Edit > New
- Paste: C:\Program Files (x86)\Graphviz2.38\bin then ok in all windows.
2. Download the FCG Editor
Note for MacOS users: On the latest versions of MacOS, you will need to run $ xattr -d com.apple.quarantine /Applications/app_name.app to convince Gatekeeper that the software is safe.
First time using the FCG Editor
- Open the FCG editor
- Click “new”
- Click “Insert demo grammar”
- Then “Evaluate file”
- Wait until the “Evaluating…” box has dissapeared
- Then browse to http://localhost:8008. You should see a long page full of FCG analyses. This means that everything is ok.