Class ConlluWordLine

Namespace
NOpenNLP.Tools.Formats.Conllu
Assembly
NOpenNLP.Tools.dll
public class ConlluWordLine
Inheritance
ConlluWordLine
Inherited Members

Properties

Deprel

Gets the universal dependency relation to the HEAD (root iff HEAD = 0) or a defined language-specific subtype of one.

public string Deprel { get; }

Property Value

string

Deps

Gets the enhanced dependency graph in the form of a list of head-deprel pairs.

public string Deps { get; }

Property Value

string

Feats

Gets the list of morphological features from the universal feature inventory or from a defined language-specific extension; underscore if not available.

public string Feats { get; }

Property Value

string

Form

Gets the word form or punctuation symbol.

public string Form { get; }

Property Value

string

Head

Gets the head of the current word, which is either a value of ID or zero (0).

public string Head { get; }

Property Value

string

Id

Gets the word index. An int starting at 1 for each new sentence; may be a range for multiword tokens; may be a decimal number for empty nodes.

public string Id { get; }

Property Value

string

Lemma

Gets the lemma or stem of the word form.

public string Lemma { get; }

Property Value

string

Misc

Gets any other annotation.

public string Misc { get; }

Property Value

string

Methods

GetPosTag(ConlluTagset)

Retrieve the Universal part-of-speech tag or the language-specific part-of-speech tag; underscore if not available.

public string GetPosTag(ConlluTagset tagset)

Parameters

tagset ConlluTagset

the type of tag to retrieve, either universal (U) or language specific (X)

Returns

string