C# Class UserSimulation.Classification

Show file Open project: plasma-umass/DataDebug Class Usage Examples

Public Methods

Method Description
AddTranspositionError ( int delta ) : void
AddTypoError ( Microsoft.FSharp.Core.FSharpOption intended, string entered ) : void
CharErrorRate ( ) : double
Classify ( MTurkParser data, string serfile ) : Classification
Deserialize ( ) : Classification
Deserialize ( string file_name ) : Classification
GetSign ( string input ) : LongestCommonSubsequence.Sign
GetTranspositionDict ( ) : int>.Dictionary
GetTypoDict ( ) : Dictionary,int>
ProcessTypos ( string original, string entered ) : int>.Tuple
Serialize ( ) : void
Serialize ( string file_name ) : void
SetTranspositionDict ( int>.Dictionary dict ) : void
SetTypoDict ( string>.Dictionary dict ) : void

Method Details

AddTranspositionError() public method

public AddTranspositionError ( int delta ) : void
delta int
return void

AddTypoError() public method

public AddTypoError ( Microsoft.FSharp.Core.FSharpOption intended, string entered ) : void
intended Microsoft.FSharp.Core.FSharpOption
entered string
return void

CharErrorRate() public method

public CharErrorRate ( ) : double
return double

Classify() public static method

public static Classify ( MTurkParser data, string serfile ) : Classification
data MTurkParser
serfile string
return Classification

Deserialize() public static method

public static Deserialize ( ) : Classification
return Classification

Deserialize() public static method

public static Deserialize ( string file_name ) : Classification
file_name string
return Classification

GetSign() public static method

public static GetSign ( string input ) : LongestCommonSubsequence.Sign
input string
return LongestCommonSubsequence.Sign

GetTranspositionDict() public method

public GetTranspositionDict ( ) : int>.Dictionary
return int>.Dictionary

GetTypoDict() public method

public GetTypoDict ( ) : Dictionary,int>
return Dictionary,int>

ProcessTypos() public method

public ProcessTypos ( string original, string entered ) : int>.Tuple
original string
entered string
return int>.Tuple

Serialize() public method

public Serialize ( ) : void
return void

Serialize() public method

public Serialize ( string file_name ) : void
file_name string
return void

SetTranspositionDict() public method

public SetTranspositionDict ( int>.Dictionary dict ) : void
dict int>.Dictionary
return void

SetTypoDict() public method

public SetTypoDict ( string>.Dictionary dict ) : void
dict string>.Dictionary
return void