Commit ca6f763a2edd530362bf25ad43303205ce83a51c
1 parent
b493dfd9
maven dependencies update
Showing
3 changed files
with
12 additions
and
13 deletions
pom.xml
src/main/java/pl/waw/ipipan/zil/core/scoreference/readers/Tei.java
1 | 1 | package pl.waw.ipipan.zil.core.scoreference.readers; |
2 | 2 | |
3 | -import ipipan.clarin.tei.api.entities.TEICoreference; | |
4 | -import ipipan.clarin.tei.api.entities.TEICorpusText; | |
5 | -import ipipan.clarin.tei.api.entities.TEIMention; | |
6 | -import ipipan.clarin.tei.api.entities.TEIMorph; | |
7 | -import ipipan.clarin.tei.api.entities.TEIParagraph; | |
8 | -import ipipan.clarin.tei.api.entities.TEISegment; | |
9 | -import ipipan.clarin.tei.api.entities.TEISentence; | |
10 | -import ipipan.clarin.tei.api.exceptions.TEIException; | |
11 | -import ipipan.clarin.tei.api.io.TEI_IO; | |
12 | - | |
13 | 3 | import java.io.File; |
14 | 4 | import java.util.ArrayList; |
15 | 5 | import java.util.Arrays; |
... | ... | @@ -25,6 +15,15 @@ import org.apache.log4j.Logger; |
25 | 15 | import pl.waw.ipipan.zil.core.scoreference.basic.AnnotationPair; |
26 | 16 | import pl.waw.ipipan.zil.core.scoreference.basic.SingleTextAnnotation; |
27 | 17 | import pl.waw.ipipan.zil.core.scoreference.basic.SingleTextAnnotationImpl; |
18 | +import pl.waw.ipipan.zil.nkjp.teiapi.api.entities.TEICoreference; | |
19 | +import pl.waw.ipipan.zil.nkjp.teiapi.api.entities.TEICorpusText; | |
20 | +import pl.waw.ipipan.zil.nkjp.teiapi.api.entities.TEIMention; | |
21 | +import pl.waw.ipipan.zil.nkjp.teiapi.api.entities.TEIMorph; | |
22 | +import pl.waw.ipipan.zil.nkjp.teiapi.api.entities.TEIParagraph; | |
23 | +import pl.waw.ipipan.zil.nkjp.teiapi.api.entities.TEISegment; | |
24 | +import pl.waw.ipipan.zil.nkjp.teiapi.api.entities.TEISentence; | |
25 | +import pl.waw.ipipan.zil.nkjp.teiapi.api.exceptions.TEIException; | |
26 | +import pl.waw.ipipan.zil.nkjp.teiapi.api.io.TEI_IO; | |
28 | 27 | |
29 | 28 | public class Tei implements Reader { |
30 | 29 | |
... | ... |
src/main/java/pl/waw/ipipan/zil/core/scoreference/utils/Splitter.java
1 | 1 | package pl.waw.ipipan.zil.core.scoreference.utils; |
2 | 2 | |
3 | -import ipipan.clarin.tei.api.io.IOUtils; | |
4 | - | |
5 | 3 | import java.io.File; |
6 | 4 | import java.io.IOException; |
7 | 5 | import java.util.ArrayList; |
... | ... | @@ -22,6 +20,8 @@ import org.w3c.dom.Document; |
22 | 20 | import org.w3c.dom.NodeList; |
23 | 21 | import org.xml.sax.SAXException; |
24 | 22 | |
23 | +import pl.waw.ipipan.zil.nkjp.teiapi.api.io.IOUtils; | |
24 | + | |
25 | 25 | public class Splitter { |
26 | 26 | |
27 | 27 | private static final Logger logger = Logger.getLogger(Splitter.class); |
... | ... |