Questions tagged [gate]

GATE is a Java framework for developing natural language processing applications.

GATE (a General Architecture for Text Engineering, http://gate.ac.uk) is a family of open-source tools for developing natural language processing applications. The GATE family includes a number of inter-related components, and this tag is appropriate for questions about any of them:

  • GATE Developer, a graphical development environment for NLP applications.
  • GATE Embedded, the Java library underlying GATE Developer, allowing applications developed in Developer to be embedded into other Java applications.
  • GATE Teamware, a web-based collaborative annotation and data curation platform.
  • GATE Mímir, an indexing system supporting annotation- and ontology-based search over large text collections that have been processed by a GATE Embedded application.
  • GATECloud.net, a service for running GATE Embedded applications over large corpora using cloud computing.

GATE Developer, Embedded and Mímir are licenced under the Lesser GPL, and Teamware under the Affero GPL.

For more information about the GATE family of tools, see

293 questions
1
vote
1 answer

NLP - using negation in basic GATE's Jape annotation rules to remove unwanted annoted words

I'm trying to create annotations in a context of "work situations". I would like to automatically annotate actors of work situations using JAPE rules. I'm using basic rules because I have no knowledge in Java coding. Here is a sample of the rules…
KaoMla
  • 11
  • 1
1
vote
2 answers

Grammar with Gate ANNIE

Hello I have been trying to work on information retrieval for quite sometime and have been facing some difficulties. Recently I downloaded StandAloneAnnie.java from following…
Sap
  • 5,197
  • 8
  • 59
  • 101
1
vote
0 answers

Parsing the TextWithNodes element of a GATE document in Python

On an NLP project, I need to process the text and annotations in the TextWithNodes element of a GATE XML document. This element has the following appearance: Some kind of sample text in which
Amittai Aviram
  • 2,270
  • 3
  • 25
  • 32
1
vote
1 answer

Jape Rule to annotate sentence and show the numbers in the sentence as feature

I need to write a jape rule to annotate sentence and display the numbers in the sentence as features and tried the following rule Imports: {import static gate.Utils.*; import java.util.regex.Matcher; import java.util.regex.Pattern;…
1
vote
0 answers

Exporting annotated GATE file for further processing in Python causes character offset issues

I've used General Architecture for Text Engineering (GATE) to manually annotate data for a Named Entity Recognition (NER) task. The annotations are on corpus level and stored with a character start-and end offset, like this: startOffset endOffset…
DnVS
  • 75
  • 3
1
vote
0 answers

How can I change a path of a file properties (for Gate Benchmark)?

I am new user of Gate. I try to use a fonction "Benchmark" of Gate which require a file .properties. The manual said that I have to save this file in a folder which a message said. The properties of the corpus benchmark tool are defined in the…
Nalae Lee
  • 11
  • 1
1
vote
0 answers

Jape file for Basic phone number Detection GATE NLP

I am new to GATE NLP. I started learning and going through GATE tutorials to understand the basics. I Tried some text formats in GATE Developer tool. Steps I followed I download GATE Developer tool from this site.…
Manzoor
  • 111
  • 5
1
vote
0 answers

What is the meaning of Library not loaded?

I installed a simulation software on macOS Mojave, but when I run it by command, it shows the following response: goldans-mac-pro:~ goldan$ Gate dyld: Library not loaded: @rpath/libG4Tree.dylib Referenced from:…
Xinjie Cao
  • 21
  • 6
1
vote
2 answers

Get text of Annotations

I am working on Information extraction in GATE embeded.I have tried the following code to get the text from the Annotations: AnnotationSet annotationSet = doc.getAnnotations().get("Person"); DocumentContent personStr = annotationSet…
AnandOCF
  • 392
  • 2
  • 9
1
vote
1 answer

Converting JAPE Rule to UIMA RUTA

Is there any example available to explain how the JAVA code written in RHS part of the JAPE rule can be converted in the UIMA RUTA? Also is there any way to get features of the annotations in RUTA?
1
vote
1 answer

Using Gate between Mac and Windows via Bitbucket.org

I'm trying to collaborate with with a colleague on a Gate app. He uses a Mac, while I am on Windows. We are both on Gate 8.5.1. He has uploaded the current project to a Bitbucket.org account. My method is to download the entire folder from -…
FJ1993
  • 115
  • 1
  • 8
1
vote
1 answer

GATE manual annotation : more features for one type

I'm doing a manual annotation of a corpus in GATE. So I have created my annotation schema in xml:
1
vote
1 answer

Get token string from tokenID using Stanford Parser in GATE

I am trying to use some Java RHS to get the string value of dependent tokens using Stanford dependency parser in GATE, and add them as features of a new annotation. I am having problems targeting just the 'dependencies' feature of the token, and…
FJ1993
  • 115
  • 1
  • 8
1
vote
1 answer

GATE - JAPE rule nested ‘contains’ operators - correct syntax

I am getting errors when I try to create ‘Sentence contains’ jape rules with OR operators, i.e when a Sentence contains 1 OR 2 AND 3 OR 4: ( { Sentence contains { Annotation1 | Annotation2 }, Sentence contains { Annotation3 |…
FJ1993
  • 115
  • 1
  • 8
1
vote
1 answer

Get logging working with Gate

I'm a newbie to both Java and Gate so I'll give my detailed steps. I'm trying to use Stanford pos tagger within my java application but it gave me this error: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to…
kk96kk
  • 55
  • 1
  • 5