From c0ece722bd7775af14c7f2ec18dcd1fd138607cb Mon Sep 17 00:00:00 2001
From: Patrick Simianer
Date: Fri, 10 Oct 2014 14:20:59 +0100
Subject: algorithms: shift reduce dependency parsing
---
algorithms/dependency_structures.cc | 382 ++++++++++++++++++++++++++++++++++++
algorithms/shift_reduce_parser.cc | 127 ++++++++++++
algorithms/shift_reduce_parser.rb | 101 ++++++++++
algorithms/shift_reduce_parser_data | 8 +
4 files changed, 618 insertions(+)
create mode 100644 algorithms/dependency_structures.cc
create mode 100644 algorithms/shift_reduce_parser.cc
create mode 100755 algorithms/shift_reduce_parser.rb
create mode 100644 algorithms/shift_reduce_parser_data
(limited to 'algorithms')
diff --git a/algorithms/dependency_structures.cc b/algorithms/dependency_structures.cc
new file mode 100644
index 0000000..cd84d2a
--- /dev/null
+++ b/algorithms/dependency_structures.cc
@@ -0,0 +1,382 @@
+#include
+#include
+#include