|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.knowcenter.wag.egov.egiz.framework.FoundBlock
public class FoundBlock
Contains all the information about a found Block in text extracton.
This is basically the ordered list of found captions.
Field Summary | |
---|---|
int |
end_index
The end index of the block. |
List |
found_keys
The ordered list of found keys. |
SignatureTypeDefinition |
std
The type of the block. |
Constructor Summary | |
---|---|
FoundBlock()
|
Method Summary | |
---|---|
protected static List |
filterOutNonRequiredFoundKeys(List found_keys)
Filters out all non required keys from the List of found keys. |
protected static List |
filterOutSIG_ID(List found_keys)
Filters out a SIG_ID found key. |
FoundKey |
getDateFoundKey()
|
FoundKey |
getFirstKey()
Returns the first key of this block. |
FoundKey |
getLastKey()
Returns the last key of this block. |
int |
getSize()
Returns the size of this block. |
boolean |
isSemanticallyEqual(FoundBlock other_block)
Tells, if this block is semantically equal to the other block. |
boolean |
isStrictlySemanticallyEqual(FoundBlock other_block)
Tells, if this block is strictly semantically equal to the other block. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public List found_keys
public int end_index
public SignatureTypeDefinition std
Constructor Detail |
---|
public FoundBlock()
Method Detail |
---|
public FoundKey getFirstKey()
public FoundKey getLastKey()
public int getSize()
Note that this doesn't give the exact size of the block, but rather a value suirable for comparison.
public String toString()
toString
in class Object
Object.toString()
public boolean isSemanticallyEqual(FoundBlock other_block)
other_block
- The other block.
protected static List filterOutNonRequiredFoundKeys(List found_keys)
found_keys
- The List of found keys.
protected static List filterOutSIG_ID(List found_keys)
found_keys
- The List of found keys.
public boolean isStrictlySemanticallyEqual(FoundBlock other_block)
other_block
- The other block.
public FoundKey getDateFoundKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |