Package cz.vutbr.fit.layout.model
Interface ChunkSet
-
- All Superinterfaces:
Artifact
- All Known Implementing Classes:
DefaultChunkSet
,RDFChunkSet
public interface ChunkSet extends Artifact
A set of text chunks extracted from a page.- Author:
- burgetr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TextChunk
createTextChunk(Rectangular r, Area sourceArea, Box sourceBox)
org.eclipse.rdf4j.model.IRI
getAreaTreeIri()
Gets the IRI of the area tree the chunk set was build from.org.eclipse.rdf4j.model.IRI
getPageIri()
Gets the IRI of the related page.Set<TextChunk>
getTextChunks()
AreaTopology
getTopology()
-
Methods inherited from interface cz.vutbr.fit.layout.model.Artifact
getArtifactType, getCreatedOn, getCreator, getCreatorParams, getIri, getLabel, getMetadata, getParentIri, setIri
-
-
-
-
Method Detail
-
getAreaTreeIri
org.eclipse.rdf4j.model.IRI getAreaTreeIri()
Gets the IRI of the area tree the chunk set was build from. This may be equal to the parent IRI when the chunk set was built from an area tree directly.- Returns:
- the source area tree IRI
-
getPageIri
org.eclipse.rdf4j.model.IRI getPageIri()
Gets the IRI of the related page.- Returns:
- The page IRI.
-
getTopology
AreaTopology getTopology()
-
createTextChunk
TextChunk createTextChunk(Rectangular r, Area sourceArea, Box sourceBox)
-
-