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 November 7, 2023 13:09
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;