Package cz.vutbr.fit.layout.map.chunks
Class MetadataChunksExtractor
- java.lang.Object
-
- cz.vutbr.fit.layout.text.chunks.ChunksSource
-
- cz.vutbr.fit.layout.map.chunks.MetadataChunksExtractor
-
public class MetadataChunksExtractor extends ChunksSource
- Author:
- burgetr
-
-
Constructor Summary
Constructors Constructor Description MetadataChunksExtractor(Area root, MetadataExampleGenerator exampleGenerator, Collection<MetaRefTag> tags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<MetaRefTag>
getAssignedTags()
List<TextChunk>
getTextChunks()
Extracts a list of chunks from the source area tree.-
Methods inherited from class cz.vutbr.fit.layout.text.chunks.ChunksSource
getRoot
-
-
-
-
Constructor Detail
-
MetadataChunksExtractor
public MetadataChunksExtractor(Area root, MetadataExampleGenerator exampleGenerator, Collection<MetaRefTag> tags)
-
-
Method Detail
-
getAssignedTags
public Collection<MetaRefTag> getAssignedTags()
-
getTextChunks
public List<TextChunk> getTextChunks()
Description copied from class:ChunksSource
Extracts a list of chunks from the source area tree.- Specified by:
getTextChunks
in classChunksSource
- Returns:
-
-