B C E F G M P R S T

B

bestEqual(String, Object, boolean) - Static method in class frej.fuzzy.Fuzzy
Given list or array of strings, searches for one which is best matched with whole original string (equality=true) or with some its substring (equality=false).

C

containability(CharSequence, CharSequence) - Static method in class frej.fuzzy.Fuzzy
Core method for searching substring.
containsOneOf(CharSequence, CharSequence...) - Static method in class frej.fuzzy.Fuzzy
Tests whether any of "patterns" is presented in "source" as substring.

E

equals(CharSequence, CharSequence) - Static method in class frej.fuzzy.Fuzzy
Tests whether "source" matches "pattern".

F

frej - package frej
Includes all functionality for fuzzy regular expressions, based on fuzzy string matching/searching utilities from frej.fuzzy.
frej.fuzzy - package frej.fuzzy
Includes core functionality for fuzzy string matching or substring searching.
Fuzzy - Class in frej.fuzzy
Class providing fuzzy string comparison.
Fuzzy() - Constructor for class frej.fuzzy.Fuzzy
 

G

getMatchEnd() - Method in class frej.Regex
Tells the character position (of string which have been matched) where last match ends (i.e. position strictly following last character of matched region).
getMatchResult() - Method in class frej.Regex
Returns result of the last match.
getMatchStart() - Method in class frej.Regex
Tells the character position (of string which have been matched) from which the match starts.
getReplacement() - Method in class frej.Regex
Gives replacement string which is generated after successful match according to rules specified in regexp pattern.
getThreshold() - Method in class frej.Regex
Returns value of threshold used in matching methods to decide whether matching result signifies match or mismatch.

M

Main - Class in test
This class uses frej library in the way similar to "grep" tool: you pass regexp pattern as a command line argument (you'd better use quotes) and then enter test lines.
main(String...) - Static method in class test.Main
it is the main (and only) method of a class
match(String) - Method in class frej.Regex
Check whether presented string matches with this regexp with all tokens.
matchedPattern - Static variable in class frej.fuzzy.Fuzzy
keeps best matched string after matching against a list of strings
matchedTokenCount() - Method in class frej.Regex
Tells number of tokens in matched region (mostly important when pattern contains optional elements).
matchFromStart(String) - Method in class frej.Regex
Checks whether this regexp matches to beginning of presented sequence.

P

pattern() - Method in class frej.Regex
Reconstructs pattern which was used for creation of this regexp.
prefix() - Method in class frej.Regex
Returns the part of matched string, which precedes matching region.
presentInSequence(String) - Method in class frej.Regex
Checks whether this regexp matches to any subsequence in presented string.

R

Regex - Class in frej
Class represents fuzzy regular expression at whole.
Regex(String) - Constructor for class frej.Regex
Creates new regular expression (builds it as a tree of elements) from presented pattern.
Regex(String, double, String) - Constructor for class frej.Regex
Creates new regular expression from presented pattern, specifying also settings of threshold value and allowed punctuation marks.
result - Static variable in class frej.fuzzy.Fuzzy
"distance" of last match (roughly mistakes count divided by length
resultEnd - Static variable in class frej.fuzzy.Fuzzy
keeps ending position of matched region after substring search
resultIndex - Static variable in class frej.fuzzy.Fuzzy
keeps index of best match after matching against a list of strings
resultStart - Static variable in class frej.fuzzy.Fuzzy
keeps starting position of matched region after substring search

S

setAllowedPunctuationMarks(String) - Method in class frej.Regex
Allows to set up which punctuation marks are allowed in the tokens By default only slash and dash i.e. punct = "/-"
setThreshold(double) - Method in class frej.Regex
Sets value of threshold used in matching methods to decide whether matching result signifies match or mismatch.
similarity(CharSequence, CharSequence) - Static method in class frej.fuzzy.Fuzzy
Core method for measuring Demerau-Levenshtein distance between two strings.
Special - Class in frej
 
Special(Regex, String) - Constructor for class frej.Special
 
substrEnd(CharSequence, CharSequence) - Static method in class frej.fuzzy.Fuzzy
Tries to find substring "pattern" in the "source" and if successful, returns the position of the end of the match.
substrStart(CharSequence, CharSequence) - Static method in class frej.fuzzy.Fuzzy
Tries to find substring "pattern" in the "source" and if successful, returns the position of the beginning of the match.
suffix() - Method in class frej.Regex
Returns the part of matched string, which follows matching region.

T

test - package test
Includes simple test for debug purposes.
threshold - Static variable in class frej.fuzzy.Fuzzy
if result of match is higher than threshold, boolean methods return "false"

B C E F G M P R S T