Skip to content

Instantly share code, notes, and snippets.

View DanielLauferPhysics's full-sized avatar

Daniel Laufer DanielLauferPhysics

  • Innoplexus A.G.
  • Hesse, Germany
View GitHub Profile
@syllog1sm
syllog1sm / gist:10343947
Last active September 19, 2024 23:54
A simple Python dependency parser
"""A simple implementation of a greedy transition-based parser. Released under BSD license."""
from os import path
import os
import sys
from collections import defaultdict
import random
import time
import pickle
SHIFT = 0; RIGHT = 1; LEFT = 2;