Method | Description | |
---|---|---|
AddLeadingTrailingSpace ( Microsoft.FSharp.Core.FSharpOption |
||
GenerateErrorString ( string input, |
||
GenerateErrorStrings ( string orig, |
||
GenerateSubtleErrorString ( double input, |
||
MultinomialSample ( double probabilities ) : int |
Samples randomly from a multinomial probability vector.
|
|
StringToOptCharArray ( string input ) : OptChar[] | ||
Transposize ( Microsoft.FSharp.Core.FSharpOption |
Transpose characters. This function expects an OptChar array with no leading or trailing empty characters, i.e., OptChar.None. If guar == -1 then there are no guaranteed transpositions, otherwise guar is the index of the element that must be transposed.
|
|
Typoize ( Microsoft.FSharp.Core.FSharpOption |
Method | Description | |
---|---|---|
GenerateDistributionForChar ( Microsoft.FSharp.Core.FSharpOption |
||
GenerateTranspositionsDistribution ( |
||
GetDistributionOfStringsForChar ( Microsoft.FSharp.Core.FSharpOption |
||
GetDistributionOfStringsForCharReuse ( Microsoft.FSharp.Core.FSharpOption |
||
GetDistributionOfTranspositions ( |
||
GetRandomStringFromDistribution ( double>.Dictionary |
Given a distribution, this method chooses a string from the distribution at random based on the probabilities given in the distribution.
|
|
GetRandomTranspositionFromDistribution ( double>.Dictionary |
||
OptCharToString ( Microsoft.FSharp.Core.FSharpOption |
public AddLeadingTrailingSpace ( Microsoft.FSharp.Core.FSharpOption |
||
input | Microsoft.FSharp.Core.FSharpOption |
|
return | OptChar[] |
public GenerateErrorString ( string input, |
||
input | string | |
c | ||
return | string |
public GenerateErrorStrings ( string orig, |
||
orig | string | |
c | ||
k | int | |
return | string[] |
public GenerateSubtleErrorString ( double input, |
||
input | double | |
c | ||
return | string |
public MultinomialSample ( double probabilities ) : int | ||
probabilities | double | A double[] containing p values; must sum to 1! |
return | int |
public StringToOptCharArray ( string input ) : OptChar[] | ||
input | string | |
return | OptChar[] |
public Transposize ( Microsoft.FSharp.Core.FSharpOption |
||
input | Microsoft.FSharp.Core.FSharpOption |
|
transpositions | int>.Dictionary | |
guar | int | |
return | OptChar[] |
public Typoize ( Microsoft.FSharp.Core.FSharpOption |
||
input | Microsoft.FSharp.Core.FSharpOption |
|
typos | string>.Dictionary | |
guar | int | |
return | string |