test_class.file: dexter-core/src/test/java/it/cnr/isti/hpc/text/SentenceSegmenterTest.java
test_class.identifier: SentenceSegmenterTest
test_case.body: @Test
  	public void testSplitPos() throws Exception {
  		SentenceSegmenter segmenter = new SentenceSegmenter();
  		String text = "Diego Armando Maradona Franco is a former Argentine footballer. He has served as a manager and coach at other clubs as well as for the national team of Argentina. ";
  		List<Sentence> sentences = segmenter.splitPos(text);
  		System.out.println("text: ");
  		System.out.println(text);
  		System.out.println("sentences: ");
  		int i = 0;
  		for (Sentence s : sentences) {
  			System.out.println(i + " )  " + s);
  			i++;
  		}
  		int posSecondSentence = text.indexOf("He has");
  		System.out.println("pos: " + posSecondSentence);
  		assertEquals(posSecondSentence, sentences.get(1).getStart());
  	}
test_case.class_method_signature: SentenceSegmenterTest.testSplitPos()
test_case.full_signature: @Test public void testSplitPos()
test_case.identifier: testSplitPos
test_case.invocations: splitPos println println println println indexOf println assertEquals getStart get
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSplitPos()
focal_class.declarator: logger = LoggerFactory
  			.getLogger(SentenceSegmenter.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger logger = LoggerFactory
  			.getLogger(SentenceSegmenter.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: sentenceDetector = null
focal_class.original_string: SentenceDetector sentenceDetector = null;
focal_class.type: SentenceDetector
focal_class.var_name: sentenceDetector
focal_class.declarator: instance = null
focal_class.modifier: private static
focal_class.original_string: private static SentenceSegmenter instance = null;
focal_class.type: SentenceSegmenter
focal_class.var_name: instance
focal_class.file: dexter-core/src/main/java/it/cnr/isti/hpc/text/SentenceSegmenter.java
focal_class.identifier: SentenceSegmenter
focal_class.class_method_signature: SentenceSegmenter.SentenceSegmenter()
focal_class.full_signature: public  SentenceSegmenter()
focal_class.identifier: SentenceSegmenter
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  SentenceSegmenter()
focal_class.class_method_signature: SentenceSegmenter.split(String text)
focal_class.full_signature: public String[] split(String text)
focal_class.identifier: split
focal_class.modifiers: public
focal_class.parameters: (String text)
focal_class.return: String[]
focal_class.signature: String[] split(String text)
focal_class.class_method_signature: SentenceSegmenter.split(Reader reader)
focal_class.full_signature: public String[] split(Reader reader)
focal_class.identifier: split
focal_class.modifiers: public
focal_class.parameters: (Reader reader)
focal_class.return: String[]
focal_class.signature: String[] split(Reader reader)
focal_class.class_method_signature: SentenceSegmenter.splitPos(String text)
focal_class.full_signature: public List<Sentence> splitPos(String text)
focal_class.identifier: splitPos
focal_class.modifiers: public
focal_class.parameters: (String text)
focal_class.return: List<Sentence>
focal_class.signature: List<Sentence> splitPos(String text)
focal_class.class_method_signature: SentenceSegmenter.main(String[] args)
focal_class.full_signature: public static void main(String[] args)
focal_class.identifier: main
focal_class.modifiers: public static
focal_class.parameters: (String[] args)
focal_class.return: void
focal_class.signature: void main(String[] args)
focal_method.body: public List<Sentence> splitPos(String text) {
  		List<Sentence> sentences = new LinkedList<Sentence>();
  		for (Span s : sentenceDetector.sentPosDetect(text)) {
  
  			sentences.add(new Sentence(
  					text.substring(s.getStart(), s.getEnd()), s.getStart(), s
  							.getEnd()));
  
  		}
  		return sentences;
  	}
focal_method.class_method_signature: SentenceSegmenter.splitPos(String text)
focal_method.full_signature: public List<Sentence> splitPos(String text)
focal_method.identifier: splitPos
focal_method.invocations: sentPosDetect add substring getStart getEnd getStart getEnd
focal_method.modifiers: public
focal_method.parameters: (String text)
focal_method.return: List<Sentence>
focal_method.signature: List<Sentence> splitPos(String text)