DeSR Dependency Parser

Tanl::TokenField Struct Reference

Describes the fields in each token in a corpus. More...

#include <Corpus.h>

List of all members.

Public Types

enum  Use { input, output, echo, ignore }
 What use of the field in training.
enum  Value { string, integer }
 Type of value.
enum  Role {
  none, form, head, deprel,
  predicate
}

Public Attributes

std::string name
Use use
Value value
Role role
std::string default_
 value representing the default for the field
std::string link
 if present, names link for which it provides the head ID
std::string label
 if present, names a link for which it provides the label


Detailed Description

Describes the fields in each token in a corpus.

Definition at line 39 of file Corpus.h.


The documentation for this struct was generated from the following file:
 
Copyright © 2005-2007 G. Attardi. Generated on 13 Aug 2009 by doxygen 1.5.7.1.