From 925087356b853e2099c1b60d8b757d7aa02121a9 Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Tue, 2 Oct 2012 00:19:43 -0400 Subject: cdec cleanup, remove bayesian stuff, parsing stuff --- gi/pyp-topics/src/contexts_lexer.h | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 gi/pyp-topics/src/contexts_lexer.h (limited to 'gi/pyp-topics/src/contexts_lexer.h') diff --git a/gi/pyp-topics/src/contexts_lexer.h b/gi/pyp-topics/src/contexts_lexer.h deleted file mode 100644 index 66004990..00000000 --- a/gi/pyp-topics/src/contexts_lexer.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef _CONTEXTS_LEXER_H_ -#define _CONTEXTS_LEXER_H_ - -#include -#include -#include - -#include "dict.h" - -struct ContextsLexer { - typedef std::vector Context; - struct PhraseContextsType { - std::string phrase; - std::vector contexts; - std::vector< std::pair > counts; - }; - - typedef void (*ContextsCallback)(const PhraseContextsType& new_contexts, void* extra); - static void ReadContexts(std::istream* in, ContextsCallback func, void* extra); -}; - -#endif -- cgit v1.2.3