private List<String> invisibleCrossSentenceAnnotations() { int fSN = state.getFirstVisibleUnitIndex(); int lSN = state.getLastVisibleUnitIndex(); List<String> crossSentAnnos = new ArrayList<>(); if (SuggestionBuilder.crossSentenceLists != null) { for (int sn : SuggestionBuilder.crossSentenceLists.keySet()) { if (sn >= fSN && sn <= lSN) { List<Integer> cr = new ArrayList<>(); for (int c : SuggestionBuilder.crossSentenceLists.get(sn)) { if (c < fSN || c > lSN) { cr.add(c); } } if (!cr.isEmpty()) { crossSentAnnos.add(sn + "-->" + cr); } } } } return crossSentAnnos; }
private List<String> invisibleCrossSentenceAnnotations() { int fSN = state.getFirstVisibleUnitIndex(); int lSN = state.getLastVisibleUnitIndex(); List<String> crossSentAnnos = new ArrayList<>(); if (SuggestionBuilder.crossSentenceLists != null) { for (int sn : SuggestionBuilder.crossSentenceLists.keySet()) { if (sn >= fSN && sn <= lSN) { List<Integer> cr = new ArrayList<>(); for (int c : SuggestionBuilder.crossSentenceLists.get(sn)) { if (c < fSN || c > lSN) { cr.add(c); } } if (!cr.isEmpty()) { crossSentAnnos.add(sn + "-->" + cr); } } } } return crossSentAnnos; }
+ state.getLastVisibleUnitIndex() + "] s:[" + state.getFocusUnitIndex() + "]");
+ state.getLastVisibleUnitIndex() + "] s:[" + state.getFocusUnitIndex() + "]");
+ state.getLastVisibleUnitIndex() + "] s:[" + state.getFocusUnitIndex() + "]");
+ state.getLastVisibleUnitIndex() + "] s:[" + state.getFocusUnitIndex() + "]");