org.corpus-tools

Java binding for the graphANNIS API

https://github.com/korpling/graphannis-java

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.0%) to scientific vocabulary
Last synced: 9 months ago · JSON representation ·

Repository

Java binding for the graphANNIS API

Basic Info
  • Host: GitHub
  • Owner: korpling
  • License: apache-2.0
  • Language: Java
  • Default Branch: main
  • Size: 81.1 MB
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • Open Issues: 1
  • Releases: 0
Created almost 8 years ago · Last pushed over 2 years ago
Metadata Files
Readme Changelog License Citation

README.md

Javadocs Automated tests

graphANNIS Java Bindings

GraphANNIS is a library for corpus linguistic queries and these are the Java bindings to graphANNIS core library version 2.4.0.

How to compile

You can compile the Java project with Maven (http://maven.apache.org/) mvn install

This will automatically download the the graphANNIS binaries to the target/native/<platform> folder, where platform is one of the following:

| Operating system | <platform> | |------------------------|---------------| | Linux (64 bit) | linux-x86-64 | | MacOS X (64 bit) | darwin | | Windows (64 bit) | win32-x86-64 |

You can change the core.version property in the pom.xml to use a different released version of graphANNIS.

To compile graphANNIS on your own (e.g. for using a non-released version)

  • Clone the graphANNIS library from https://github.com/korpling/graphANNIS/
  • Follow the graphANNIS compile instructions
  • Copy the resulting shared library file <graphANNIS-repo>/target/release/libgraphannis.so (libgraphannis.dylib under MacOS X and graphannis.dll under Windows) into the target/native/<platform> folder.

Creating a P2 repository

For easier integration of graphANNIS into Eclipse RCP projects like Hexatomic, it is possible to create a P2 repository with the graphANNIS bundles (and its dependencies). Execute

bash mvn p2:site

to create a local P2 repository in target/repository. You can serve this locally with Jetty using

bash mvn jetty:run -Djetty.http.port=9999

and access it at http://localhost:9999/site/. You can choose another port, e.g. to avoid conflicts with other local P2 repositories.

Release process

  1. Check the changelog (CHANGELOG.md): note the last release version number and which kind of changes have been made since the last release. Determine if this is a major, minor or patch release according to semantic versioning.
  2. Create a release using Maven. The command will ask you for the new version number use the most appropriate with respect to the previous version number and the changes made. mvn release:clean release:prepare release:perform This will update versions, the changelog, our citation file (CITATION.cff) and the contents of the THIRD-PARTY folder.

CI will automatically create a P2 repository in the gh-pages branch in under the sub-folder p2/<short-version>, e.g. https://korpling.github.io/graphannis-java/p2/v0.22/.

Author(s)

  • Thomas Krause (thomas.krause@hu-berlin.de)

Owner

  • Name: korpling
  • Login: korpling
  • Kind: organization

Citation (CITATION.cff)

cff-version: 1.2.0
type: software
message: If you use this software, please cite it using these metadata.
title: graphANNIS Java Bindings
authors:
- given-names: Thomas
  family-names: Krause
  affiliation: Humboldt-Universität zu Berlin
  orcid: https://orcid.org/0000-0003-3731-2422
repository-code: https://github.com/korpling/graphANNIS-java
license: Apache-2.0
version: 0.31.3
date-released: 2022-09-30
references:
- type: software
  title: 'Jackson module: JAXB Annotations'
  version: 2.9.9
  abbreviation: com.fasterxml.jackson.module:jackson-module-jaxb-annotations
  license: Apache-2.0
  notes: More license information can be found in the THIRD-PARTY/Jackson_module_JAXB_Annotations
    directory.
  authors:
  - name: Tatu Saloranta
  - name: Christopher Currie
  - name: Paul Brown
  repository-code: http://github.com/FasterXML/jackson-modules-base/jackson-module-jaxb-annotations
- type: software
  title: Jackson-annotations
  version: 2.12.6
  abbreviation: com.fasterxml.jackson.core:jackson-annotations
  license: Apache-2.0
  notes: More license information can be found in the THIRD-PARTY/Jackson_annotations
    directory.
  authors:
  - name: Tatu Saloranta
  repository-code: http://github.com/FasterXML/jackson-annotations
- type: software
  title: Jackson-core
  version: 2.9.9
  abbreviation: com.fasterxml.jackson.core:jackson-core
  license: Apache-2.0
  notes: More license information can be found in the THIRD-PARTY/Jackson_core directory.
  authors:
  - name: Tatu Saloranta
  - name: Christopher Currie
  - name: Paul Brown
  repository-code: http://github.com/FasterXML/jackson-core
- type: software
  title: Java Native Access
  version: 5.3.1
  abbreviation: net.java.dev.jna:jna
  license: Apache-2.0
  notes: More license information can be found in the THIRD-PARTY/Java_Native_Access
    directory.
  authors:
  - name: Timothy Wall
  - name: Matthias Bläsing
  repository-code: https://github.com/java-native-access/jna
- type: software
  title: JavaBeans Activation Framework API jar
  version: 1.2.0
  abbreviation: javax.activation:javax.activation-api
  license: CDDL-1.1 OR GPL-2.0-only WITH Classpath-exception-2.0
  notes: More license information can be found in the THIRD-PARTY/JavaBeans_Activation_Framework_API_jar
    directory.
  authors:
  - name: Bill Shannon
  repository-code: https://github.com/javaee/activation/javax.activation-api
- type: software
  title: SLF4J API Module
  version: 1.7.25
  abbreviation: org.slf4j:slf4j-api
  license: MIT
  notes: More license information can be found in the THIRD-PARTY/SLF4J_API_Module
    directory.
  authors:
  - name: Ceki Gulcu
  repository-code: https://github.com/qos-ch/slf4j/slf4j-api
- type: software
  title: jackson-databind
  version: 2.12.6.1
  abbreviation: com.fasterxml.jackson.core:jackson-databind
  license: Apache-2.0
  notes: More license information can be found in the THIRD-PARTY/jackson_databind
    directory.
  authors:
  - name: Tatu Saloranta
  repository-code: http://github.com/FasterXML/jackson-databind
- type: software
  title: jaxb-api
  version: 2.3.1
  abbreviation: javax.xml.bind:jaxb-api
  license: CDDL-1.1 OR GPL-2.0-only WITH Classpath-exception-2.0
  notes: More license information can be found in the THIRD-PARTY/jaxb_api directory.
  authors:
  - name: Roman Grigoriadi
  - name: Martin Grebac
  - name: Iaroslav Savytskyi
  repository-code: https://github.com/javaee/jaxb-spec.git/jaxb-api

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 0
  • Total pull requests: 29
  • Average time to close issues: N/A
  • Average time to close pull requests: 29 days
  • Total issue authors: 0
  • Total pull request authors: 2
  • Average comments per issue: 0
  • Average comments per pull request: 0.17
  • Merged pull requests: 25
  • Bot issues: 0
  • Bot pull requests: 7
Past Year
  • Issues: 0
  • Pull requests: 5
  • Average time to close issues: N/A
  • Average time to close pull requests: 28 minutes
  • Issue authors: 0
  • Pull request authors: 2
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 5
  • Bot issues: 0
  • Bot pull requests: 1
Top Authors
Issue Authors
Pull Request Authors
  • thomaskrause (22)
  • dependabot[bot] (7)
Top Labels
Issue Labels
Pull Request Labels
dependencies (7) enhancement (1)

Packages

  • Total packages: 1
  • Total downloads: unknown
  • Total dependent packages: 1
  • Total dependent repositories: 1
  • Total versions: 9
repo1.maven.org: org.corpus-tools:graphannis

A wrapper around the C API of graphANNIS (version 2.4.0)

  • Versions: 9
  • Dependent Packages: 1
  • Dependent Repositories: 1
Rankings
Dependent repos count: 20.8%
Dependent packages count: 33.0%
Average: 43.8%
Forks count: 58.7%
Stargazers count: 62.8%
Last synced: 10 months ago

Dependencies

examples/tutorial/pom.xml maven
  • org.corpus-tools:graphannis 0.26.0-SNAPSHOT
  • org.slf4j:slf4j-simple 1.7.26
pom.xml maven
  • com.fasterxml.jackson.core:jackson-core 2.9.9
  • com.fasterxml.jackson.core:jackson-databind 2.11.1
  • com.fasterxml.jackson.module:jackson-module-jaxb-annotations 2.9.9
  • javax.xml.bind:jaxb-api 2.3.1
  • net.java.dev.jna:jna 5.3.1
  • org.slf4j:slf4j-api 1.7.25
  • ch.qos.logback:logback-classic 1.2.1 test
  • com.google.guava:guava 27.0.1-jre test
  • junit:junit 4.13.1 test
  • org.corpus-tools:salt-api 3.3.6 test
  • org.hamcrest:hamcrest-core 1.3 test
.github/workflows/deploy.yml actions
  • actions/checkout v1 composite
  • actions/setup-java v1 composite
  • ad-m/github-push-action v0.6.0 composite
.github/workflows/test.yml actions
  • actions/cache v2 composite
  • actions/checkout v1 composite