Class CooccurrenceCounter2
Inheritance
System.Object
CooccurrenceCounter2
Implements
System.IDisposable
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()
Namespace: Sdl.Core.FineGrainedAlignment
Assembly: Sdl.Core.FineGrainedAlignment.dll
Syntax
public class CooccurrenceCounter2 : IDisposable
Constructors
CooccurrenceCounter2(String)
Declaration
public CooccurrenceCounter2(string tempFolder)
Parameters
Type | Name | Description |
---|---|---|
System.String | tempFolder |
CooccurrenceCounter2(String, Int32)
Declaration
public CooccurrenceCounter2(string tempFolder, int itemsPerFile)
Parameters
Type | Name | Description |
---|---|---|
System.String | tempFolder | |
System.Int32 | itemsPerFile |
Properties
Samples
Declaration
public int Samples { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
Count(Int32, Int32)
Declaration
public void Count(int v1, int v2)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | v1 | |
System.Int32 | v2 |
Dispose()
Declaration
public void Dispose()
Merge(Int32)
Declaration
public IEnumerable<CooccurrenceCount> Merge(int minCooc)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | minCooc |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Sdl.LanguagePlatform.Stat.CooccurrenceCount> |
Events
Progress
Declaration
public event EventHandler<TranslationModelProgressEventArgs> Progress
Event Type
Type | Description |
---|---|
System.EventHandler<TranslationModelProgressEventArgs> |
Implements
System.IDisposable