Class DetokenizationDictionary

Namespace
NOpenNLP.Tools.Tokenize
Assembly
NOpenNLP.Tools.dll
public class DetokenizationDictionary
Inheritance
DetokenizationDictionary
Inherited Members

Constructors

DetokenizationDictionary(Stream)

public DetokenizationDictionary(Stream @in)

Parameters

in Stream

DetokenizationDictionary(string[], DetokenizationOperationType[])

Initializes the current instance.

public DetokenizationDictionary(string[] tokens, DetokenizationOperationType[] operations)

Parameters

tokens string[]

an array of tokens that should be detokenized according to an operation

operations DetokenizationOperationType[]

an array of operations which specifies which operation should be used for the provided tokens

Methods

Serialize(Stream)

Writes the current instance to the given Stream.

public virtual void Serialize(Stream @out)

Parameters

out Stream

the Stream to write the dictionary into.

Exceptions

IOException