Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

uk.ac.gate:gate-core

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uk.ac.gate:gate-core

GATE - general architecture for text engineering - is open source software capable of solving almost any text processing problem. This artifact enables you to embed the core GATE Embedded with its essential dependencies. You will able to use the GATE Embedded API and load and store GATE XML documents. This artifact is the perfect dependency for CREOLE plugins or for applications that need to customize the GATE dependencies due to conflict with their own dependencies or for lower footprint.

  • 9.0.1
  • Source
  • Maven
  • Socket score

Version published
Maintainers
1
Source

GATE Developer (including GATE Embedded)

Javadocs

Note that this is our current development code, if you are looking for stable releases please visit https://gate.ac.uk/download/

See the user guide for more details

Building and Running from the Source Code

Requirements:

  • Java 8 or above
  • Maven 3.6.0 or above

To build the development version of gate-core:

  • clone this repository: git clone https://github.com/GateNLP/gate-core.git
  • change into the directory that has been created
  • compile the library and install into your local Maven cache: mvn install

After this you can run the GUI from the distro directory as appropriate to your platform (bin/gate.sh on Linux, open GATE.app on Mac, or run gate.exe on Windows). When you update (git pull), it's the same procedure.

Using Plugins

Plugins are no longer part of this gate-core repository - by default GATE will download its plugins from a Maven repository at runtime (the Central Repository for release versions of GATE, the GATE Maven repository for snapshots) so it is not necessary to build the plugins locally in order to use them.

Each plugin by the GATE team is in its own repository on GitHub (search https://github.com/GateNLP for "gateplugin"), to make changes to a plugin simply clone its repository, make your changes, then mvn install - GATE will prefer your locally built version over one from a remote repository with the same (SNAPSHOT) version number.

Setting up a classpath for a script or program

As GATE is distributed via Maven in most cases depending on the relevant release of GATE within your own Maven project should suffice. If, however, you need to depend, at compile time, on a SNAPSHOT version of GATE, or a plugin from the GATE team which has not yet been released to Maven central (either a SNAPSHOT or a release that can't be pushed to Central) then you will need to add the following to the pom.xml of your project.

<repositories>
   <repository>
      <id>gate-repo</id>
      <name>GATE Repo</name>
      <url>http://repo.gate.ac.uk/content/groups/public/</url>
      <layout>default</layout>
      <releases><enabled>true</enabled></releases>
      <snapshots><enabled>true</enabled></snapshots>
   </repository>
</repositories>

If you are not using Maven or need to provide the full classpath to a command line script then the ./distro directory inside the cloned source code repository contains a file gate.classpath after running mvn compile which contains the paths to all the JARs in the Maven cache that should be put on the classpath when using gate-core from a Java application that embeds GATE.

If GATE was installed using a pre-built distribution, then the distribution directory contains a ./lib directory with all the JAR files that should be included in the class path.

FAQs

Package last updated on 08 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc