Locked History Actions

Diff for "TeiAPI"

Differences between revisions 13 and 16 (spanning 3 versions)
Revision 13 as of 2012-05-07 16:50:12
Size: 1108
Editor: MichalLenart
Comment:
Revision 16 as of 2015-07-09 10:13:14
Size: 1237
Editor: MateuszKopec
Comment:
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
Add this jar to your classpath: http://chopin.ipipan.waw.pl/~mlenart/maven2/ipipan/teiapi/1.0-SNAPSHOT/teiapi-1.0-SNAPSHOT.jar Download [[http://maven.nlp.ipipan.waw.pl/service/local/artifact/maven/redirect?r=snapshots&g=ipipan&a=teiapi&v=1.0-SNAPSHOT&e=jar|this jar]] and add it to your classpath.
Line 12: Line 12:
==== Additional resources: ====
 * [[http://maven.nlp.ipipan.waw.pl/service/local/artifact/maven/redirect?r=snapshots&g=ipipan&a=teiapi&v=1.0-SNAPSHOT&e=jar&c=javadoc|Javadoc]]
 * [[http://maven.nlp.ipipan.waw.pl/service/local/artifact/maven/redirect?r=snapshots&g=ipipan&a=teiapi&v=1.0-SNAPSHOT&e=jar&c=sources|Sources]]
Line 20: Line 22:
  ...
Line 22: Line 24:
    <id>zil-maven-repo</id>
    <name>ZIL maven repository</name>
    <url>http://maven.nlp.ipipan.waw.pl/content/repositories/snapshots</url>
  </repository>
Line 23: Line 29:
  </repository>

  <repository>
    <releases>
      <enabled>true</enabled>
      <updatePolicy>always</updatePolicy>
      <checksumPolicy>fail</checksumPolicy>
    </releases>
    <id>mlenart</id>
    <name>mlenart</name>
    <url>http://chopin.ipipan.waw.pl/~mlenart/maven2</url>
    <layout>default</layout>
  </repository>
Line 48: Line 40:
 ...
Line 51: Line 43:

More complicated real-life example file: [[attachment:pom.xml]]

TEI API

This page describes TeiAPI - a java library for parsing NKJP-compatible TEI P5 files.

Usage

Without Maven

Download this jar and add it to your classpath.

Additional resources:

With Maven

In your pom.xml file:

  • add repository information:

   1 <repositories>
   2   ...
   3   <repository>
   4     <id>zil-maven-repo</id>
   5     <name>ZIL maven repository</name>
   6     <url>http://maven.nlp.ipipan.waw.pl/content/repositories/snapshots</url>
   7   </repository>
   8   ...
   9 </repositories>
  • and dependency information:

   1 <dependencies>
   2  ...
   3  <dependency>
   4   <groupId>ipipan</groupId>
   5   <artifactId>teiapi</artifactId>
   6   <version>1.0-SNAPSHOT</version>
   7  </dependency>
   8  ...
   9 </dependencies>