ModErn Text Analysis
META Enumerates Textual Applications
ptb_parser.h
Go to the documentation of this file.
1 
9 #ifndef META_PTB_PARSER_H_
10 #define META_PTB_PARSER_H_
11 
12 #include "sequence/sequence.h"
13 
14 namespace meta
15 {
16 namespace sequence
17 {
18 
26 std::vector<sequence> extract_sequences(const std::string& filename);
27 
28 }
29 }
30 #endif
std::vector< sequence > extract_sequences(const std::string &filename)
Reads a Penn Treebank formatted part of speech tagged file and returns a set of sequences parsed from...
Definition: ptb_parser.cpp:24
The ModErn Text Analysis toolkit is a suite of natural language processing, classification, information retreival, data mining, and other applications of text processing.
Definition: analyzer.h:24
std::string filename(const std::string &path)
Definition: unit_test.h:114