Commit ca6f763a2edd530362bf25ad43303205ce83a51c
1 parent
b493dfd9
maven dependencies update
Showing
3 changed files
with
12 additions
and
13 deletions
pom.xml
@@ -53,7 +53,7 @@ | @@ -53,7 +53,7 @@ | ||
53 | <version>1.0-2</version> | 53 | <version>1.0-2</version> |
54 | </dependency> | 54 | </dependency> |
55 | <dependency> | 55 | <dependency> |
56 | - <groupId>ipipan</groupId> | 56 | + <groupId>pl.waw.ipipan.zil.nkjp</groupId> |
57 | <artifactId>teiapi</artifactId> | 57 | <artifactId>teiapi</artifactId> |
58 | <version>1.0-SNAPSHOT</version> | 58 | <version>1.0-SNAPSHOT</version> |
59 | </dependency> | 59 | </dependency> |
src/main/java/pl/waw/ipipan/zil/core/scoreference/readers/Tei.java
1 | package pl.waw.ipipan.zil.core.scoreference.readers; | 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 | import java.io.File; | 3 | import java.io.File; |
14 | import java.util.ArrayList; | 4 | import java.util.ArrayList; |
15 | import java.util.Arrays; | 5 | import java.util.Arrays; |
@@ -25,6 +15,15 @@ import org.apache.log4j.Logger; | @@ -25,6 +15,15 @@ import org.apache.log4j.Logger; | ||
25 | import pl.waw.ipipan.zil.core.scoreference.basic.AnnotationPair; | 15 | import pl.waw.ipipan.zil.core.scoreference.basic.AnnotationPair; |
26 | import pl.waw.ipipan.zil.core.scoreference.basic.SingleTextAnnotation; | 16 | import pl.waw.ipipan.zil.core.scoreference.basic.SingleTextAnnotation; |
27 | import pl.waw.ipipan.zil.core.scoreference.basic.SingleTextAnnotationImpl; | 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 | public class Tei implements Reader { | 28 | public class Tei implements Reader { |
30 | 29 |
src/main/java/pl/waw/ipipan/zil/core/scoreference/utils/Splitter.java
1 | package pl.waw.ipipan.zil.core.scoreference.utils; | 1 | package pl.waw.ipipan.zil.core.scoreference.utils; |
2 | 2 | ||
3 | -import ipipan.clarin.tei.api.io.IOUtils; | ||
4 | - | ||
5 | import java.io.File; | 3 | import java.io.File; |
6 | import java.io.IOException; | 4 | import java.io.IOException; |
7 | import java.util.ArrayList; | 5 | import java.util.ArrayList; |
@@ -22,6 +20,8 @@ import org.w3c.dom.Document; | @@ -22,6 +20,8 @@ import org.w3c.dom.Document; | ||
22 | import org.w3c.dom.NodeList; | 20 | import org.w3c.dom.NodeList; |
23 | import org.xml.sax.SAXException; | 21 | import org.xml.sax.SAXException; |
24 | 22 | ||
23 | +import pl.waw.ipipan.zil.nkjp.teiapi.api.io.IOUtils; | ||
24 | + | ||
25 | public class Splitter { | 25 | public class Splitter { |
26 | 26 | ||
27 | private static final Logger logger = Logger.getLogger(Splitter.class); | 27 | private static final Logger logger = Logger.getLogger(Splitter.class); |