Class WordCounter
Provides Word
Inheritance
Object
WordCounter
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Sdl.LanguagePlatform.TranslationMemory
Assembly: Sdl.LanguagePlatform.TranslationMemory.dll
Syntax
public class WordCounter
Methods
CreateAsync(ICultureMetadataManager)
Creates the Word
Declaration
public static Task<WordCounter> CreateAsync(ICultureMetadataManager cultureMetadataManager)
Parameters
Type | Name | Description |
---|---|---|
ICulture |
cultureMetadataManager |
Returns
Type | Description |
---|---|
Task<Word |
GetWordCountsAsync(IList<Token>, WordCountsOptions, CultureCode)
Produce a Word
Declaration
public Task<WordCounts> GetWordCountsAsync(IList<Token> tokens, WordCountsOptions options, CultureCode cultureCode)
Parameters
Type | Name | Description |
---|---|---|
IList<Token> | tokens | The tokens to analyze |
Word |
options | The Word |
Culture |
cultureCode |
Returns
Type | Description |
---|---|
Task<Word |