Click or drag to resize

TokenDictionary Class

Home | imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Stores raw frequencies of the tokens
Inheritance Hierarchy
SystemObject
  imbNLP.Toolkit.ProcessingTokenDictionary

Namespace:  imbNLP.Toolkit.Processing
Assembly:  imbNLP.Toolkit (in imbNLP.Toolkit.dll) Version: 0.2.30
Syntax
C#
public class TokenDictionary

The TokenDictionary type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCount
Gets the count of distinct tokens in the dictionary
Protected propertyTokenFrequency
Protected propertyTokenID
Protected propertyTokens
Top
Methods
  NameDescription
Public methodAddToken
Registers new token, returns assigned ID
Public methodContains
Public methodCountToken
Adds oscore point/s to the token frequency. If the token wasn't registered with the dictionary, it will register it automatically.
Public methodCountTokens
Counts the tokens.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetMaxFrequency
Returns maximum frequency
Public methodGetRankedTokenFrequency
Gets ranked list of tokens and their absolute frequencies
Public methodGetSquareRootOfSumSquareFrequencies
Returns square root of summation of the sqares of term frequencies
Public methodGetSumFrequency
Sum of all frequencies
Public methodGetSumSquareFrequencies
Public methodGetTokenByID
Gets the token by identifier.
Public methodGetTokenFrequency
Gets frequency of the token
Public methodGetTokenID
Returns ID of the token specified
Public methodGetTokenIDs
Returns list of IDs for given token list
Public methodGetTokens
Gets list of currently known tokens
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMergeDictionary
Collects all tokens and sums their frequencies with existing data in the dictionary
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodMakeTable
Makes ranked table with term frequencies
(Defined by ReportGenerators.)
Top
See Also