KJB
|
#include "m_cpp/m_vector.h"
#include "semantics/Semspear_tree.h"
#include "semantics/Root_event.h"
#include "semantics/Unary_event.h"
#include "semantics/Dependency_event.h"
#include "semantics/Punctuation_event.h"
#include "semantics/TOP_event.h"
#include "semantics/Head_semantic_event.h"
#include "semantics/Mod_semantic_event.h"
#include "semantics/Null_semantic_event.h"
#include "semantics/Semantic_step_proposal.h"
#include <algorithm>
#include <functional>
#include <iterator>
#include <boost/bind.hpp>
#include <boost/array.hpp>
#include <boost/utility.hpp>
#include <cstdlib>
Namespaces | |
spear | |
semantics | |
Typedefs | |
typedef Semspear_tree::Symbol_list | semantics::Symbol_list |
typedef Semantic_step_proposal::Self_ptr | semantics::Move_proposal_ptr |
Functions | |
const Symbol_list | semantics::punctuation (punc.begin(), punc.end()) |
const Symbol_list | semantics::base_np_labels (base_np.begin(), base_np.end()) |
const Symbol_list | semantics::coordination (coord.begin(), coord.end()) |
const Symbol_list | semantics::accepts_any_coord (acc_any.begin(), acc_any.end()) |
const Symbol_list & | semantics::unnecessary_nodes () |
boost::tuple < Semspear_tree::Self_ptr, kjb::Vector > | semantics::propose_new_tree (const Semspear_tree::Self_ptr source) |
void | semantics::resample_event_tables (Semspear_tree::Self_ptr &source) |
Variables | |
const boost::array < Token_map::Key_type, 2 > | semantics::punc = {{",", ":"}} |
const boost::array < Token_map::Key_type, 1 > | semantics::base_np = {{"NPB"}} |
const boost::array < Token_map::Key_type, 3 > | semantics::unnec = {{".", "''", "``"}} |
const boost::array < Token_map::Key_type, 1 > | semantics::coord = {{"CC"}} |
const boost::array < Token_map::Key_type, 2 > | semantics::acc_any = {{"UCP", "QP"}} |