Class WordCounts
Inheritance
System.Object
WordCounts
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Sdl.LanguagePlatform.TranslationMemory.dll
Constructors
Declaration
Declaration
public WordCounts(WordCounts other)
Parameters
Declaration
public WordCounts(IList<Token> tokens)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<Token> |
tokens |
|
Declaration
public WordCounts(IList<Token> tokens, WordCountsOptions options, CultureInfo culture)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<Token> |
tokens |
|
WordCountsOptions |
options |
|
System.Globalization.CultureInfo |
culture |
|
Declaration
public WordCounts(IList<Token> tokens, bool breakOnHyphen, bool breakOnDash, bool breakOnTag, bool breakOnApostrophe)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<Token> |
tokens |
|
System.Boolean |
breakOnHyphen |
|
System.Boolean |
breakOnDash |
|
System.Boolean |
breakOnTag |
|
System.Boolean |
breakOnApostrophe |
|
Properties
Declaration
public int Characters { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public bool IsZero { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public int Placeables { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public int Segments { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public int Tags { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public int Words { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
Declaration
public void Assign(WordCounts other)
Parameters
Declaration
public WordCounts Duplicate()
Returns
Declaration
public void Inc(WordCounts other)
Parameters