From e207b43bf179277d53b3adc767372469bd8a2ad2 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Tue, 15 Jul 2014 18:19:00 +0200
Subject: before msgpack
---
fast/Makefile | 4 ++--
fast/README.md | 3 ++-
fast/fast_weaver | Bin 88433 -> 0 bytes
fast/hypergraph.hh | 7 +++++++
fast/hypergraph.o | Bin 72616 -> 0 bytes
fast/semiring.hh | 1 +
6 files changed, 12 insertions(+), 3 deletions(-)
delete mode 100755 fast/fast_weaver
delete mode 100644 fast/hypergraph.o
(limited to 'fast')
diff --git a/fast/Makefile b/fast/Makefile
index 4aea1ac..a453fd3 100644
--- a/fast/Makefile
+++ b/fast/Makefile
@@ -1,8 +1,8 @@
all: hypergraph.o main.cc
- clang -std=c++11 -lstdc++ main.cc hypergraph.o -o fast_weaver
+ clang -std=c++11 -lstdc++ main.cc hypergraph.o json/libjson.a -o fast_weaver
hypergraph.o: hypergraph.cc hypergraph.hh grammar.o semiring.hh
- clang -std=c++11 -lstdc++ -c hypergraph.cc grammar.o
+ clang -std=c++11 -lstdc++ -c hypergraph.cc -I./msgpack-c/include/ grammar.o ./msgpack-c/lib/libmsgpack.a
grammar.o: grammar.cc grammar.hh
clang -std=c++11 -lstdc++ -c grammar.cc
diff --git a/fast/README.md b/fast/README.md
index 112a7ae..3087bab 100644
--- a/fast/README.md
+++ b/fast/README.md
@@ -2,7 +2,8 @@ TODO
* grammar
* parser
* other semirings
- * sparse vector
+ * sparse vector (unordered_map)
+ * hg serialization? json/bson/msgpack/protocol buffers (no!)
* hg: json input (jsoncpp?)
* language model: kenlm
diff --git a/fast/fast_weaver b/fast/fast_weaver
deleted file mode 100755
index 7d349b3..0000000
Binary files a/fast/fast_weaver and /dev/null differ
diff --git a/fast/hypergraph.hh b/fast/hypergraph.hh
index 6e53045..24e63f5 100644
--- a/fast/hypergraph.hh
+++ b/fast/hypergraph.hh
@@ -11,6 +11,8 @@
#include