Giter Site home page Giter Site logo

eventcoreference's Introduction

EventCoreference

version 3.1.2 Copyright: VU University Amsterdam, Piek Vossen email: [email protected] website: www.newsreader-project.eu website: cltl.nl

SOURCE CODE: https://github.com/cltl/EventCoreference

INSTALLATION

  1. git clone https://github.com/cltl/EventCoreference
  2. cd EventCoreference
  3. chmod +wrx install.sh
  4. run the install.sh script

The install.sh will build the binary through apache-maven-3.x and the pom.xml and move it to the "lib" folder.

REQUIREMENTS EventCoreference is developed in Java 1.6 and can run on any platform that supports Java 1.6. You need to first install maven (version 3.x) to install EventCoreference: https://maven.apache.org/index.html.

LICENSE EventCoreference is free software: you can redistribute it and/or modify it under the terms of the The Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0.txt.

EventCoreference is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

USAGE To find out about the parameters that can be set for NAF2SEM you can run the naf2sem-usage.sh script.

DESCRIPTION EventCoreference is a package that contain 3 main functionalities:

  1. NAF event-coreference: resolving event coreference within a single document in NAF format and adding event coreference sets to the coreferece layer in NAF
  2. NAF to SEM-GRaSP RDF-TRiG: converting NAF files to SEM/GRaSP RDF-TRiG files in which events, participants and time are represented as instances with relations with pointers to their mentions in the text. Each mention of an instance or relation is enriched with information on the source and the source perspective. Possibly these functions can handle cross-document event coreference: representing the event data across identicanl events across documents in a single instance representation.

Typically, the 2 functions are called in sequence, assuming that there is a collection of NAF files or a NAF stream with the necessary layers present:

NAF ---> NAF ---> RDF-TRiG ---> JSON ---> Browser Visualisation

Depending on the configuration, the processing can be done for single NAF files, a stream of NAF files, a batch folder with NAF files or through interaction with a KnowledgeStore repository in the back. The same is true for processing RDF-TRiG data. Interaction with the KnowledgeStore requires population of the KnowledgeStore node with the NAF files anf the RDF-TRiG files.

We further describe the main functions in more detail below.

  1. NAF-event-coreference (within-document event-coreference):

Requires the presences of a SRL layer in NAF and for some scripts a term layer with wordnet synsets and a wordnet LMF resource.

The standard scripts for creating an event coreference layer inside the NAF file is:

  • event-coreference-en.sh (for English texts)
  • event-coreference-nl.sh (for Dutch texts)
  • event-coreference-lemma.sh (any language)
  • event-coreference-singleton.sh (any language)

The scripts for English and Dutch use a wordnet in LMF format for determining similarity across events and a list of FrameNet frames to determine which events qualify for event coreference. The lemma script only groups events with the same lemma (baseline) and the singleton script creates singleton coreference sets from all predicates in the SRL. These last two scripts do not require a wordnet and can be ran on any language.

Call any of the above scripts as follows:

cat ../example/wikinews_1173_en.naf | ./event-coreference-en.sh cat ../example/wikinews_1173_nl.naf | ./event-coreference-nl.sh cat ../example/wikinews_1173_en.naf | ./event-coreference-lemma.sh cat ../example/wikinews_1173_en.naf | ./event-coreference-singleton.sh

The result of the with document event coreference is a NAF file where the coreference layer contains the event coreference sets.

The scripts can be adapted to run the functions with different settings by setting parameters. These parameters are explained in the usage documentation.

  1. Conversion from NAF to SEM-GRaSP RDF-TRiG and cross-document event-coreference

Another set of functions reads the NAF files and creates SEM-GRasSP TRiG files (RDF format). While doing this it converts the mention-based representations in NAF into instance-based representations. The input NAF files minimally need the following layers:

  • tokens, terms, entities, coreference for events, srl, timeExpressions

If any of these layers is absent or empty, the RDF-TRiG files will be empty. To create an event coreference layer, use the event-coreference scripts described above.

There are two sets of functions:

2.1 Multiple NAF document conversion

It reads a batch of NAF files and extracts Composite Events from each NAF to store them in cluster files as binary object data. Composite events are data structures that contain the action, all the participants and timex anchors relevant for the event. In a second step it reads the binary object data to compare the event descriptions. If identity is established the event descriptions are merged. If not they remain separate. At the end the results is serialized to SEM-GRaSP TRiG files, where each cluster folder gets a single TRiG file as a result. Multiple document conversion is typically used for large batches of NAF files. Scripts:

naf2sem-batch-cluster.sh naf2sem-batch-nocluster.sh

The naf2sem-batch-cluster.sh script creates subfolders "contextualEvent", "sourceEvent", "grammaticalEvent" and "futureEvent". Within each of the folders, it creates temporal buckets with the events that have the same temporal anchoring. All events within a bucket are compared and a single TRiG file is created as output in each bucket.

The naf2sem-batch-nocluster.sh script creates a single cluster folder "all" and compare all events.

Call any of these scripts as follows:

./naf2sem-batch-cluster.sh ../example test ./naf2sem-batch-nocluster.sh ../example test

The scripts can be adapted to run the functions with different settings by setting parameters. These parameters are explained in the usage documentation.

2.2 Single document conversion

Note: Make sure that you have your KnowledgeStore (KS) docker set up prior to running the single document streaming mode. You can get the docker from https://github.com/dkmfbk/knowledgestore-docker/. Once your KS docker is running, update the script with the correct KS endpoint for NAF2SEM, following the pattern: $YOUR_SERVER_URL/custom/naf2sem .

Instead of cross-document extraction, there is also a function that takes a single NAF input stream or file and directly creates the SEM instance and GRaSP perspective representations. For each input stream an output stream is generated in RDF-TRiG format (similar for single file input/output). In a next step the RDF TRiG output stream can be sent to a KnowledgeStore (direct population of the RDF-TRiG) and the KnowledgeStore is queried for similar events. For identical events owl:sameAs links are created that are also stored in the KnowledgeStore. This set up can be used for an end-to-end streaming set up. Scripts:

naf2sem-grasp.sh (file or stream) run_single_naf.sh (NAF stream and direct interaction with the KnowledgeStore)

The naf2sem-grasp.sh script reads a NAF file and generates the RDF-TRiG output stream. Example usage:

cat ../example/wikinews_1173_en.naf.coref.xml | ./naf2sem-grasp.sh

The run_single_naf.sh script first call the GetSemFromNafStream function to get the RDF-TRiG output and then calls the KnowledgeStore for population and determining equivalence with events in the KnowledgeStore. This script requires access to a runing KnowledgeStore. Example usage:

cat ../example/wikinews_1173_en.naf.coref.xml | ./run_single_naf.sh

The scripts can be adapted to run the functions with different settings by setting parameters. These parameters are explained in the usage documentation.

REFERENCES: P. Vossen, R. Agerri, I. Aldabe, A. Cybulska, M. van Erp, A. Fokkens, E. Laparra, A. Minard, A. P. Aprosio, G. Rigau, M. Rospocher, and R. Segers, “Newsreader: how semantic web helps natural language processing helps semantic web,” Special issue knowledge based systems, elsevier, to appear.

M. Rospocher, M. van Erp, P. Vossen, A. Fokkens, I. Aldabe, G. Rigau, A. Soroa, T. Ploeger, and T. Bogaard, “Building event-centric knowledge graphs from news,” Journal of web semantics, 2016.

See also: http://kyoto.let.vu.nl/newsreader_deliverables/NWR-D5-1-3.pdf

eventcoreference's People

Contributors

piekvossen avatar filievski avatar paulhuygen avatar sarnoult avatar vanatteveldt avatar

Stargazers

 avatar  avatar Li Jiaqi avatar nodearcnode avatar Kean avatar Tomek Korbak avatar Wouter Kouw avatar David Wabnitz avatar Wei Qiu avatar Smrutiranjan Sahu avatar Pash avatar Fabrício Raphael avatar James Knox avatar jose nazario avatar  avatar  avatar Stefano Bragaglia avatar Andrew Shaffer avatar  avatar

Watchers

James Cloos avatar Marieke van Erp avatar  avatar Ruben Izquierdo avatar  avatar  avatar  avatar R.H. Segers avatar Sander Puts avatar  avatar  avatar

eventcoreference's Issues

installation failure

I get an error after cloning the repository and calling install.sh:

#1. compiling the library from source code and dependencies
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building EventCoreference and NAF2SEM-GRASP v3.0
[INFO] ------------------------------------------------------------------------

[... snip ...]

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.029s
[INFO] Finished at: Mon Apr 18 12:47:33 CEST 2016
[INFO] Final Memory: 17M/213M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0:compile (default-compile) on project EventCoreference: Compilation failure: Compilation failure:
[ERROR] /data/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/storyline/JsonStoryUtil.java:[14,0] error: cannot find symbol
[ERROR] 
[ERROR] could not parse error message:   symbol:   static makeTripleQuery
[ERROR] location: class
[ERROR] /data/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/output/GetEventCentricGraph.java:28: error: cannot find symbol
[ERROR] TrigTripleData trigTripleData = TrigTripleReader.readTripleFromTrigFile (new File(pathToTrigFile));
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   method readTripleFromTrigFile(File)
[ERROR] location: class TrigTripleReader
[ERROR] /data/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/output/DataSetEventHierarchy.java:27: error: cannot find symbol
[ERROR] esoReader.cumulateScores("eso:", tops, cnt);
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   method cumulateScores(String,ArrayList<String>,HashMap<String,Integer>)
[ERROR] location: variable esoReader of type EsoReader
[ERROR] /data/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/output/DataSetEventHierarchy.java:28: error: cannot find symbol
[ERROR] int maxDepth = esoReader.getMaxDepth(tops, 1);
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   method getMaxDepth(ArrayList<String>,int)
[ERROR] location: variable esoReader of type EsoReader
[ERROR] /data/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/output/DataSetEventHierarchy.java:31: error: cannot find symbol
[ERROR] str += esoReader.htmlTableTree("eso:",tops, 1, cnt, maxDepth);
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   method htmlTableTree(String,ArrayList<String>,int,HashMap<String,Integer>,int)
[ERROR] location: variable esoReader of type EsoReader
[ERROR] /data/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/storyline/TrigToJsonPerspectiveStoriesFT.java:291: error: cannot find symbol
[ERROR] TrigKSTripleReader.qCount= 0;
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable qCount
[ERROR] location: class TrigKSTripleReader
[ERROR] /data/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/storyline/TrigToJsonPerspectiveStoriesFT.java:293: error: cannot find symbol
[ERROR] perspectiveEvents = TrigKSTripleReader.readAttributionFromKs(jsonObjects);
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   method readAttributionFromKs(ArrayList<JSONObject>)
[ERROR] location: class TrigKSTripleReader
[ERROR] /data/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/storyline/JsonStoryUtil.java:113: error: incompatible types: ArrayList<JSONObject> cannot be converted to String
[ERROR] coevents = CreateMicrostory.getEventsThroughCoparticipation(selectedEvents, jsonObject, interSect);
[ERROR] ^
[ERROR] 
[ERROR] /data/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/storyline/JsonStoryUtil.java:[1376,41] error: cannot find symbol
[ERROR] 
[ERROR] could not parse error message:   symbol:   method makeTripleQuery(String)
[ERROR] location: class JsonStoryUtil
[ERROR] /data/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/storyline/JsonStoryUtil.java:1377: error: method readTriplesFromKs in class TrigKSTripleReader cannot be applied to given types;
[ERROR] ArrayList<Statement> perspectiveTriples = TrigKSTripleReader.readTriplesFromKs(mention, sparqlQuery);
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   required: String
[ERROR] found: String,String
[ERROR] reason: actual and formal argument lists differ in length
[ERROR] /data/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/storyline/JsonStoryUtil.java:1383: error: cannot find symbol
[ERROR] if (TrigKSTripleReader.isAttributionRelation(relString)) {
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   method isAttributionRelation(String)
[ERROR] location: class TrigKSTripleReader
[ERROR] /data/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/storyline/JsonStoryUtil.java:1384: error: cannot find symbol
[ERROR] sparqlQuery = makeTripleQuery(objUri);
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   method makeTripleQuery(String)
[ERROR] location: class JsonStoryUtil
[ERROR] /data/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/storyline/JsonStoryUtil.java:1385: error: method readTriplesFromKs in class TrigKSTripleReader cannot be applied to given types;
[ERROR] ArrayList<Statement> attrTriples = TrigKSTripleReader.readTriplesFromKs(objUri, sparqlQuery);
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   required: String
[ERROR] found: String,String
[ERROR] reason: actual and formal argument lists differ in length
[ERROR] /data/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/storyline/JsonStoryUtil.java:1417: error: cannot find symbol
[ERROR] sparqlQuery = makeTripleQuery(attrObj);
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   method makeTripleQuery(String)
[ERROR] location: class JsonStoryUtil
[ERROR] /data/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/storyline/JsonStoryUtil.java:1418: error: method readTriplesFromKs in class TrigKSTripleReader cannot be applied to given types;
[ERROR] ArrayList<Statement> docTriples = TrigKSTripleReader.readTriplesFromKs(objUri, sparqlQuery);
[ERROR] ^
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

class version error

$ bash $MDIR/EventCoreference/scripts/event-coreference-nl.sh
Error: Could not find or load main class eu.newsreader.eventcoreference.naf.EventCorefWordnetSim

Probably same cause as cltl/OntoTagger#6

Build fails with WordnetTools set to master-SNAPSHOT

Build runs fine for WordnetTools version 3.0, but not for master-SNAPSHOT (the pom for it is missing from jitpack.io)

$ mvn -U clean package
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< com.github.cltl:EventCoreference >------------------
[INFO] Building EventCoreference and NAF2SEM-GRASP v3.1.2
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from jitpack.io: https://jitpack.io/com/github/cltl/KafSaxParser/master-SNAPSHOT/maven-metadata.xml
Downloaded from jitpack.io: https://jitpack.io/com/github/cltl/KafSaxParser/master-SNAPSHOT/maven-metadata.xml (395 B at 286 B/s)
Downloading from jitpack.io: https://jitpack.io/com/github/cltl/WordnetTools/master-SNAPSHOT/maven-metadata.xml
Downloading from jitpack.io: https://jitpack.io/com/github/cltl/WordnetTools/master-SNAPSHOT/WordnetTools-master-SNAPSHOT.pom
[WARNING] The POM for com.github.cltl:WordnetTools:jar:master-SNAPSHOT is missing, no dependency information available
Downloading from jitpack.io: https://jitpack.io/com/github/cltl/WordnetTools/master-SNAPSHOT/WordnetTools-master-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.235 s
[INFO] Finished at: 2020-04-05T15:59:27+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project EventCoreference: Could not resolve dependencies for project com.github.cltl:EventCoreference:jar:v3.1.2: Could not find artifact com.github.cltl:WordnetTools:jar:master-SNAPSHOT in jitpack.io (https://jitpack.io) -> [Help 1]

installation fails

Installation with install.sh fails on a freshly cloned installation:

#1. compiling the library from source code and dependencies
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building EventCoreference and NAF2SEM-GRASP v3.0
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ EventCoreference ---
[INFO] Deleting /home/wva/newsreader_pipe_nl/modules/EventCoreference/target
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.308 s
[INFO] Finished at: 2016-06-23T17:13:22+02:00
[INFO] Final Memory: 6M/145M
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building EventCoreference and NAF2SEM-GRASP v3.0
[INFO] ------------------------------------------------------------------------
Downloading: https://jitpack.io/com/github/cltl/WordnetTools/v3.0/WordnetTools-v3.0.pom
Downloaded: https://jitpack.io/com/github/cltl/WordnetTools/v3.0/WordnetTools-v3.0.pom (3 KB at 7.1 KB/sec)
Downloading: https://jitpack.io/com/github/cltl/WordnetTools/v3.0/WordnetTools-v3.0.jar
Downloaded: https://jitpack.io/com/github/cltl/WordnetTools/v3.0/WordnetTools-v3.0.jar (209 KB at 461.5 KB/sec)
[INFO] 
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ EventCoreference ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.0:compile (default-compile) @ EventCoreference ---
Compiling 123 source files to /home/wva/newsreader_pipe_nl/modules/EventCoreference/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.436 s
[INFO] Finished at: 2016-06-23T17:13:28+02:00
[INFO] Final Memory: 19M/210M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0:compile (default-compile) on project EventCoreference: Compilation failure: Compilation failure:
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/SemObject.java:[158,50] error: cannot find symbol
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable PAST
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/SemObject.java:170: error: cannot find symbol
[ERROR] kafFactValue.setValue(KafFactValue.PAST);
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable PAST
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/SemObject.java:177: error: cannot find symbol
[ERROR] kafFactValue.setValue(KafFactValue.PAST);
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable PAST
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/SemObject.java:197: error: cannot find symbol
[ERROR] kafFactValue.setValue(KafFactValue.RECENT);
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable RECENT
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/SemObject.java:211: error: cannot find symbol
[ERROR] kafFactValue.setValue(KafFactValue.RECENT);
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable RECENT
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/SemObject.java:218: error: cannot find symbol
[ERROR] kafFactValue.setValue(KafFactValue.RECENT);
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable RECENT
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/NafMention.java:281: error: cannot find symbol
[ERROR] if (value.equals(KafFactValue.RECENT) && topValue.equals(KafFactValue.PAST)) {
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable RECENT
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/NafMention.java:281: error: cannot find symbol
[ERROR] if (value.equals(KafFactValue.RECENT) && topValue.equals(KafFactValue.PAST)) {
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable PAST
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/NafMention.java:282: error: cannot find symbol
[ERROR] topValue = KafFactValue.RECENT;
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable RECENT
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/NafMention.java:451: error: cannot find symbol
[ERROR] if (value.equals(KafFactValue.RECENT) && topValue.equals(KafFactValue.PAST)) {
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable RECENT
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/NafMention.java:451: error: cannot find symbol
[ERROR] if (value.equals(KafFactValue.RECENT) && topValue.equals(KafFactValue.PAST)) {
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable PAST
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/NafMention.java:452: error: cannot find symbol
[ERROR] topValue = KafFactValue.RECENT;
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable RECENT
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/NafMention.java:454: error: cannot find symbol
[ERROR] else if (value.equals(KafFactValue.RECENT) && topValue.equals(KafFactValue.NON_FUTURE)) {
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable RECENT
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/NafMention.java:455: error: cannot find symbol
[ERROR] topValue = KafFactValue.RECENT;
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable RECENT
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/NafMention.java:457: error: cannot find symbol
[ERROR] else if (value.equals(KafFactValue.PAST) && topValue.equals(KafFactValue.NON_FUTURE)) {
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable PAST
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/objects/NafMention.java:458: error: cannot find symbol
[ERROR] topValue = KafFactValue.PAST;
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   variable PAST
[ERROR] location: class KafFactValue
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/naf/GetPerspectiveRelations.java:175: error: cannot find symbol
[ERROR] String lemma = kafSaxParser.getLemma(kafEvent.getSpanIds());
[ERROR] ^
[ERROR] 
[ERROR] could not parse error message:   symbol:   method getLemma(ArrayList<String>)
[ERROR] location: variable kafSaxParser of type KafSaxParser
[ERROR] /home/wva/newsreader_pipe_nl/modules/EventCoreference/src/main/java/eu/newsreader/eventcoreference/naf/GetPerspectiveRelations.java:249: error: cannot find symbol
[ERROR] String lemma = kafSaxParser.getLemma(kafEvent.getSpanIds());
[ERROR] ^
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.