Package cz.vutbr.fit.layout.text.chunks
Class AreaTextChunksSource
- java.lang.Object
-
- cz.vutbr.fit.layout.text.chunks.ChunksSource
-
- cz.vutbr.fit.layout.text.chunks.AreaTextChunksSource
-
public class AreaTextChunksSource extends ChunksSource
A text chunks source that extracts the tagged chunks only.- Author:
- Martin Kotras
-
-
Constructor Summary
Constructors Constructor Description AreaTextChunksSource(Area root, TaggerConfig taggerConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
AreaTextChunksSource
public AreaTextChunksSource(Area root, TaggerConfig taggerConfig)
-
-
Method Detail
-
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:
-
-