edu.columbia.cs.ref.tool.segmentator.impl
Class SimpleSegmentDocumentSegmentator
java.lang.Object
edu.columbia.cs.ref.tool.segmentator.impl.SimpleSegmentDocumentSegmentator
- All Implemented Interfaces:
- DocumentSegmentator
public class SimpleSegmentDocumentSegmentator
- extends java.lang.Object
- implements DocumentSegmentator
The SimpleSegmentDocumentSegmentator is an implementation of the DocumentSegmentator.
This DocumentSegmentator is actually a dummy segmentator since it does not perform
any transformation. It simply produces a new segmentation that corresponds to the whole
content of the document
- Since:
- 2011-09-27
- Version:
- 0.1
- Author:
- Pablo Barrio, Goncalo Simoes
Method Summary |
java.util.List<Segment> |
segmentate(java.lang.String documentContent)
This method receives as input the content of a document as a String and returns
a division of the document as a List of sections |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleSegmentDocumentSegmentator
public SimpleSegmentDocumentSegmentator()
segmentate
public java.util.List<Segment> segmentate(java.lang.String documentContent)
- Description copied from interface:
DocumentSegmentator
- This method receives as input the content of a document as a String and returns
a division of the document as a List of sections
- Specified by:
segmentate
in interface DocumentSegmentator
- Parameters:
documentContent
- the content of a document
- Returns:
- division of the content into sections