Enum nlp_annotations::pos::PtbTag
[−]
[src]
pub enum PtbTag {
S,
Lqu,
Rqu,
Lrb,
Rrb,
Comma,
Period,
Colon,
Cc,
Cd,
Dt,
Ex,
Fw,
In,
Jj,
Jjr,
Jjs,
Ls,
Md,
Nn,
Nns,
Nnp,
NnpS,
Pdt,
Pos,
Prp,
PrpS,
Rb,
Rbr,
Rbs,
Rp,
Sym,
To,
Uh,
Vb,
Vbg,
Vbn,
Vbp,
Vbz,
Wdt,
Wp,
WpS,
Wrb,
Nfp,
Add,
Hyph,
Afx,
Gw,
Xx,
}Penn Treebank part-of-speech tags
Refer to: Santorini, B (1990) Part-of-Speech Tagging Guidelines for the Penn Treebank Project. 3rd Revision. University of Pennsylvania Technical Report.
Variants
SLquRquLrbRrbCommaPeriodColonCcCdDtExFwInJjJjrJjsLsMdNnNnsNnpNnpSPdtPosPrpPrpSRbRbrRbsRpSymToUhVbVbgVbnVbpVbzWdtWpWpSWrbNfpAddHyphAfxGwXxTrait Implementations
impl Hash for PtbTag[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl Debug for PtbTag[src]
impl PartialEq for PtbTag[src]
fn eq(&self, __arg_0: &PtbTag) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Eq for PtbTag[src]
impl Clone for PtbTag[src]
fn clone(&self) -> PtbTag
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Copy for PtbTag[src]
impl AsRef<str> for PtbTag[src]
impl FromStr for PtbTag[src]
type Err = String
The associated error which can be returned from parsing.
fn from_str(value: &str) -> Result<PtbTag, String>
Parses a string s to return a value of this type. Read more
impl PartialOrd for PtbTag[src]
fn partial_cmp(&self, other: &PtbTag) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool1.0.0
This method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &Rhs) -> bool1.0.0
This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &Rhs) -> bool1.0.0
This method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &Rhs) -> bool1.0.0
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Ord for PtbTag[src]
fn cmp(&self, other: &PtbTag) -> Ordering
This method returns an Ordering between self and other. Read more