eVision .NET API
Loading...
Searching...
No Matches
eVision.ETopology Class Reference

ETopology aims to restrict the formats of the texts that will be returned by an ETextReader. A ETopology is composed of a list of ETopologyLine. Each entry in the list refers to the corresponding line in a text. Texts with different number of lines will therefore never be matched by the same ETopology. More...

Inheritance diagram for eVision.ETopology:
Collaboration diagram for eVision.ETopology:

Public Member Functions

 ETopology ()
 Creates a ETopology.
 ETopology (eVision.ETopologyLine[] lines)
 Creates a ETopology.
 ETopology (eVision.ETopology other)
 Creates a ETopology.
bool IsEqual (eVision.ETopology other)
 Checks if this ETopology instance is strictly equal to another ETopology instance.
void Load (string path)
 Loads the ETopology.
void Load (eVision.ESerializer serializer)
 Loads the ETopology.
void Save (string path)
 Saves the ETopology.
void Save (eVision.ESerializer serializer)
 Saves the ETopology.
bool Match (string text)
 Returns true if the argument complies with the ETopology.
bool Match (eVision.EasyDeepOCR.EText text)
 Returns true if the argument complies with the ETopology.
bool Match (eVision.EasyDeepOCR.ESample sample)
 Returns true if the argument complies with the ETopology.
bool Match (eVision.EasyDeepOCR.ESampleList samples)
 Returns true if the argument complies with the ETopology.

Properties

eVision.ETopologyLine[] TopologyLines [get, set]
 ETopology lines.

Detailed Description

ETopology aims to restrict the formats of the texts that will be returned by an ETextReader. A ETopology is composed of a list of ETopologyLine. Each entry in the list refers to the corresponding line in a text. Texts with different number of lines will therefore never be matched by the same ETopology.

License(s): BasicTypes

Constructor & Destructor Documentation

◆ ETopology() [1/3]

eVision.ETopology.ETopology ( )

Creates a ETopology.

◆ ETopology() [2/3]

eVision.ETopology.ETopology ( eVision.ETopologyLine[] lines)

Creates a ETopology.

Parameters
linesLines of the ETopology.

◆ ETopology() [3/3]

eVision.ETopology.ETopology ( eVision.ETopology other)

Creates a ETopology.

Parameters
otherAnother ETopology to be copied in the new ETopology.

Member Function Documentation

◆ IsEqual()

bool eVision.ETopology.IsEqual ( eVision.ETopology other)

Checks if this ETopology instance is strictly equal to another ETopology instance.

Parameters
otherReference to the ETopology instance to compare with

◆ Load() [1/2]

void eVision.ETopology.Load ( eVision.ESerializer serializer)

Loads the ETopology.

Parameters
serializer

◆ Load() [2/2]

void eVision.ETopology.Load ( string path)

Loads the ETopology.

Parameters
pathPath where to save the ETopology.

◆ Match() [1/4]

bool eVision.ETopology.Match ( eVision.EasyDeepOCR.ESample sample)

Returns true if the argument complies with the ETopology.

Parameters
sampleESample to be checked.

◆ Match() [2/4]

bool eVision.ETopology.Match ( eVision.EasyDeepOCR.ESampleList samples)

Returns true if the argument complies with the ETopology.

Parameters
samplesESampleList to be checked.

◆ Match() [3/4]

bool eVision.ETopology.Match ( eVision.EasyDeepOCR.EText text)

Returns true if the argument complies with the ETopology.

Parameters
textEText or text string to be checked.

◆ Match() [4/4]

bool eVision.ETopology.Match ( string text)

Returns true if the argument complies with the ETopology.

Parameters
textEText or text string to be checked.

◆ Save() [1/2]

void eVision.ETopology.Save ( eVision.ESerializer serializer)

Saves the ETopology.

Parameters
serializer

◆ Save() [2/2]

void eVision.ETopology.Save ( string path)

Saves the ETopology.

Parameters
pathPath where to save the ETopology.

Property Documentation

◆ TopologyLines

eVision.ETopologyLine [] eVision.ETopology.TopologyLines
getset

ETopology lines.