Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,29 @@ src - The source code.
LISENSE - The license of LitWay.
README - This file.



How to run the program?

1.build path -> add libraries -> ee,uima

2.build.xml
run as -> ant build... -> Refresh -> The entire workspace ->output is "./dist/litway-0.8.jar" -> build path -> add to build path

3.train
info.chenli.litway.bionlp13.ge
(1)TriggerRecogniser.java
argument is train data absolute path
(2)BindingRecogniser.java
argument is train data absolute path
(3)ArgumentRecogniser.java
argument is train data absolute path

ps:The word2vec file at "./word2vec/word2vec100"

4.test
info.chenli.litway.bionlp13.ge
EventExtractorBind2.java argument is test data absolute path

5.result path is "./result/"

57 changes: 57 additions & 0 deletions conf/config.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<?xml version="1.0"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:documentation>
* Filename : config.xsd
* Description: XML Schema for BioNLP
* Author(s) : Chen Li
* Revision : $Id: config.xsd 8275 2013-10-16 16:28:25Z $
* $HeadURL: https://github.com/li-chen/ee $
*
* Copyright 2013 Chen Li
*
* This software is licensed according to the terms described in the file
* named "LICENSE.txt" included with this distribution and available
* online at https://github.com/li-chen/ee/LICENSE.txt
</xs:documentation>
</xs:annotation>
<xs:element name="network">
<xs:complexType>
<xs:sequence>
<xs:element name="entities">
<xs:complexType>
<xs:sequence>
<xs:element name="entity" type="xs:string" minOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="events">
<xs:complexType>
<xs:sequence>
<xs:element name="event" minOccurs="1" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="type" type="xs:string"/>
<xs:element name="arguments">
<xs:complexType>
<xs:sequence>
<xs:element name="argument" minOccurs="1" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="name" type="xs:string"/>
<xs:attribute name="type" type="xs:string"/>
<xs:attribute name="multi" type="xs:boolean"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
Loading