This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ScrollViewer Style="{StaticResource AppHost_ScrollViewer}"> | |
<Interactivity:Interaction.Behaviors> | |
<custom:ScrollViewerMaxSizeBehavior MinContentWidth="600" | |
MinContentHeight="500"/> | |
</Interactivity:Interaction.Behaviors> | |
<!-- content --> | |
</ScrollViewer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class JaroWinklerDistance | |
{ | |
/* The Winkler modification will not be applied unless the | |
* percent match was at or above the mWeightThreshold percent | |
* without the modification. | |
* Winkler's paper used a default value of 0.7 | |
*/ | |
private const double WeightThreshold = 0.7; | |
/* Size of the prefix to be concidered by the Winkler modification. |