|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.javaocr.matcher.Match
public class Match
conrainer to encapsulate mathichg result, distance and quality thresholds.
| Field Summary | |
|---|---|
(package private) Character |
chr
|
(package private) double |
distance
|
(package private) double |
red
|
(package private) double |
yellow
|
| Constructor Summary | |
|---|---|
Match()
|
|
Match(Character chr,
double distance,
double yellow,
double red)
|
|
| Method Summary | |
|---|---|
int |
compareTo(Match o)
|
Character |
getChr()
mnatched character |
double |
getDistance()
cgaracter distance provided by metric |
double |
getRed()
threshold marking invalid match |
double |
getYellow()
threshold marking problematic (low quality) match |
void |
setChr(Character chr)
|
void |
setDistance(double distance)
|
void |
setRed(double red)
|
void |
setYellow(double yellow)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
double distance
Character chr
double yellow
double red
| Constructor Detail |
|---|
public Match()
public Match(Character chr,
double distance,
double yellow,
double red)
| Method Detail |
|---|
public Character getChr()
public void setChr(Character chr)
public double getDistance()
public void setDistance(double distance)
public double getRed()
public void setRed(double red)
public double getYellow()
public void setYellow(double yellow)
public int compareTo(Match o)
compareTo in interface Comparable<Match>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||