@Test
public void testDoesRequireDehyphenization_usingCoordinates_shouldReturnTrue() throws Exception {

    String input = "The study of iron-based supercondu -  " +
        "ctors superconductivity in the iron-pnictide LaFeAsO 1-x F x has been expanding and has \n";
    List<LayoutToken> layoutTokens = GrobidAnalyzer.getInstance().tokenizeWithLayoutToken(input);
    IntStream.range(0, 15).forEach(i -> layoutTokens.get(i).setY(10));
    IntStream.range(15, layoutTokens.size()).forEach(i -> layoutTokens.get(i).setY(30));
    assertThat(LayoutTokensUtil.doesRequireDehypenisation(layoutTokens, 12), is(true));
}