Skip to content
No description, website, or topics provided.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Measures.py
Measures_rand.py
README.md
baseline_conditions_nCross.py
depgraph.py
main_random_shorts_ar.py
requirements.txt
treegen.py

README.md

measures_of_nonProjectivity

The module "main_random_shorts_ar.py" takes a directory containing conllu format files and generates random baseline trees. This baseline generates trees with pruefer code and controls for the rate of crossing dependencies. The calculated measures i.e., arity, tree depth, gap degree, etc. are stored in same output file for both real and random baseline trees. The output file gets generated in long format.

The module "baseline_conditions_nCross.py" contains random tree generation code.

To install required dependencies: pip install -r requirements.txt

You can’t perform that action at this time.