Skip to content

Latest commit

 

History

History
46 lines (41 loc) · 1.45 KB

README.md

File metadata and controls

46 lines (41 loc) · 1.45 KB

about

abbyy-to-alto is a tiny Java library to convert abbyy.xml to alto.xml. It supports abbyy v10 and alto v2/alto v4.1.

include with maven

<repositories>
  <repository>
    <id>MyCoRe HQ</id>
    <url>http://artifactory.mycore.de/mycore-releases</url>
    <snapshots>
      <enabled>false</enabled>
    </snapshots>
  </repository>
  <repository>
    <id>MyCoRe HQ Snapshots</id>
    <url>http://artifactory.mycore.de/mycore-snapshots</url>
    <releases>
      <enabled>false</enabled>
    </releases>
    <snapshots>
      <enabled>true</enabled>
    </snapshots>
  </repository>
</repositories>

<dependencies>
  <dependency>
    <groupId>org.mycore</groupId>
    <artifactId>abbyy-to-alto</artifactId>
    <version>0.1-SNAPSHOT</version>
  </dependency>
</dependencies>

use the cli

abbyy-to-alto contains a very simple command line interface

  • checkout the project with git
  • do a "mvn clean install" in the checked out directory
  • use the cli
    • java -jar target/abbyy-to-alto-0.1-SNAPSHOT.jar convert {source abbyy xml} {target directory}
    • java -jar target/abbyy-to-alto-0.1-SNAPSHOT.jar directory {source directory} {target directory}