gatelfdata.featurengram module

Module for the FeatureNGram class

class gatelfdata.featurengram.FeatureNgram(fname, attrinfo, featurestats, vocab)[source]

Bases: object

Represents an ngram attribute. The value of such an attribute is a list/sequence of things that can be represented by embeddings,

type_converted()[source]

Return the name of the type of information of the feature, once it is converted to internal format.

type_original()[source]

Return the name of the type of information of the original feature.