Create a new WeightedContextMatcher instance implementing the fuzzy matching mechanism.
Arguments: |
|
---|
Arguments: |
|
---|
Return true if subject at offset is equal to the candidate value. Override this method if your values need special handling.
Arguments: |
|
---|
Return 1 if every body-item of the pattern matches the candidates exactly. Otherwise return 0.
Arguments: |
|
---|
Return a number between 0 and 1 representing the match quality of the pattern context with the candidate.
Arguments: |
|
---|
Return a number between zero and one representing the match quality of the pattern.
Arguments: |
|
---|
Set the pattern consisting of the body and the context which should be matched against candidates using matchQuality method subsequently.