ModErn Text Analysis
META Enumerates Textual Applications
Namespaces | Functions
ptb_reader.cpp File Reference
#include <iostream>
#include <fstream>
#include "parser/io/ptb_reader.h"
#include "parser/trees/internal_node.h"
#include "parser/trees/leaf_node.h"
#include "utf/utf.h"
#include "util/shim.h"

Namespaces

 meta
 The ModErn Text Analysis toolkit is a suite of natural language processing, classification, information retreival, data mining, and other applications of text processing.
 
 meta::parser
 Contains functions that relate to phrase structure trees and parsing of natural language.
 

Functions

std::vector< parse_tree > meta::parser::io::extract_trees (std::istream &stream)
 Reads Penn Treebank formatted trees from a stream and returns a set of trees parsed from it. More...
 
std::vector< parse_tree > meta::parser::io::extract_trees (const std::string &filename)
 Reads a Penn Treebank formatted tree file and returns a set of trees parsed from it. More...
 

Detailed Description

Author
Chase Geigle