strusAnalyzer  0.17
Public Types | Public Member Functions | Static Public Member Functions | List of all members
strus::PosTaggerDataInterface::Element Class Reference

Output element declaration for POS tagging. More...

#include <posTaggerDataInterface.hpp>

Public Types

enum  Type { Marker, Content, BoundToPrevious }
 

Public Member Functions

const Type type () const
 Type of mapping. More...
 
const std::string & tag () const
 Tag string. More...
 
const std::string & value () const
 Value of token (tagged value) More...
 
const std::string & ref () const
 Referenced translation value of token (id attribute of tagged value) More...
 
 Element (const Type &type_, const std::string &tag_, const std::string &value_, const std::string &ref_)
 Constructor. More...
 
 Element (const Element &o)
 Copy constructor. More...
 

Static Public Member Functions

static const char * typeName (Type t)
 

Detailed Description

Output element declaration for POS tagging.

Member Enumeration Documentation

Enumerator
Marker 
Content 
BoundToPrevious 

Constructor & Destructor Documentation

strus::PosTaggerDataInterface::Element::Element ( const Type type_,
const std::string &  tag_,
const std::string &  value_,
const std::string &  ref_ 
)
inline

Constructor.

Parameters
[in]typetype of output mapping
[in]tagname of tag
[in]valuevalue of token (tagged value)
strus::PosTaggerDataInterface::Element::Element ( const Element o)
inline

Copy constructor.

Member Function Documentation

const std::string& strus::PosTaggerDataInterface::Element::ref ( ) const
inline

Referenced translation value of token (id attribute of tagged value)

const std::string& strus::PosTaggerDataInterface::Element::tag ( ) const
inline

Tag string.

const Type strus::PosTaggerDataInterface::Element::type ( ) const
inline

Type of mapping.

static const char* strus::PosTaggerDataInterface::Element::typeName ( Type  t)
inlinestatic
const std::string& strus::PosTaggerDataInterface::Element::value ( ) const
inline

Value of token (tagged value)


The documentation for this class was generated from the following file: