Revision: 16703
http://sourceforge.net/p/gate/code/16703
Author: adamfunk
Date: 2013-06-06 10:04:36 +0000 (Thu, 06 Jun 2013)
Log Message:
-----------
Deleting some vestigial stuff about RDF
Modified Paths:
--------------
gate/trunk/plugins/TermRaider/src/gate/termraider/bank/AbstractPairbank.java
gate/trunk/plugins/TermRaider/src/gate/termraider/gui/ActionSaveCsv.java
gate/trunk/plugins/TermRaider/src/gate/termraider/util/Utilities.java
Removed Paths:
-------------
gate/trunk/plugins/TermRaider/src/gate/resources/base_ontology.rdf
Deleted: gate/trunk/plugins/TermRaider/src/gate/resources/base_ontology.rdf
===================================================================
--- gate/trunk/plugins/TermRaider/src/gate/resources/base_ontology.rdf
2013-06-04 16:48:34 UTC (rev 16702)
+++ gate/trunk/plugins/TermRaider/src/gate/resources/base_ontology.rdf
2013-06-06 10:04:36 UTC (rev 16703)
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE rdf:RDF [
-<!ENTITY xsd "http://www.w3.org/2001/XMLSchema#">
-<!ENTITY arco "http://www.gate.ac.uk/ns/ontologies/arcomem-data-model.rdf#">
-]>
-
-<rdf:RDF
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
- xmlns:arco="http://www.gate.ac.uk/ns/ontologies/arcomem-data-model.rdf#"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
- xml:base="http://gate.ac.uk/owlim#">
-
-
- <rdfs:Class rdf:about="&arco;Entity">
- <rdfs:label>Entity</rdfs:label>
- </rdfs:Class>
-
- <rdfs:Class rdf:about="&arco;WebObject">
- <rdfs:label>WebObject</rdfs:label>
- </rdfs:Class>
-
- <rdfs:Class rdf:about="&arco;Term">
- <rdfs:label>Term</rdfs:label>
- <rdfs:subClassOf rdf:resource="&arco;Entity"/>
- </rdfs:Class>
-
- <rdfs:Class rdf:about="&arco;Text">
- <rdfs:label>Text</rdfs:label>
- <rdfs:subClassOf rdf:resource="&arco;WebObject"/>
- </rdfs:Class>
-
-</rdf:RDF>
Modified:
gate/trunk/plugins/TermRaider/src/gate/termraider/bank/AbstractPairbank.java
===================================================================
---
gate/trunk/plugins/TermRaider/src/gate/termraider/bank/AbstractPairbank.java
2013-06-04 16:48:34 UTC (rev 16702)
+++
gate/trunk/plugins/TermRaider/src/gate/termraider/bank/AbstractPairbank.java
2013-06-06 10:04:36 UTC (rev 16703)
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2008--2012, The University of Sheffield. See the file
+ * Copyright (c) 2008--2013, The University of Sheffield. See the file
* COPYRIGHT.txt in the software or at http://gate.ac.uk/gate/COPYRIGHT.txt
*
* This file is part of GATE (see http://gate.ac.uk/), and is free
@@ -201,23 +201,10 @@
}
- public void saveAsRdfAndDeleteOntology(double threshold, File outputFile)
throws GateException {
- System.out.println("Saving as RDF not implemented yet for Pairbanks");
- }
-
- public void saveAsRdfAndDeleteOntology(File outputFile) throws GateException
{
- saveAsRdfAndDeleteOntology(0.0, outputFile);
- }
-
- public void writeRdfAndDeleteOntology(double threshold, OutputStream stream)
throws GateException {
- System.out.println("Saving as RDF not implemented yet for Pairbanks");
- }
-
-
@Override
public List<Action> getActions() {
- // lazy instantation because it's transient
+ // lazy instantiation because it's transient
if (this.actionsList == null) {
createActions();
}
Modified:
gate/trunk/plugins/TermRaider/src/gate/termraider/gui/ActionSaveCsv.java
===================================================================
--- gate/trunk/plugins/TermRaider/src/gate/termraider/gui/ActionSaveCsv.java
2013-06-04 16:48:34 UTC (rev 16702)
+++ gate/trunk/plugins/TermRaider/src/gate/termraider/gui/ActionSaveCsv.java
2013-06-06 10:04:36 UTC (rev 16703)
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2008--2012, The University of Sheffield. See the file
+ * Copyright (c) 2008--2013, The University of Sheffield. See the file
* COPYRIGHT.txt in the software or at http://gate.ac.uk/gate/COPYRIGHT.txt
*
* This file is part of GATE (see http://gate.ac.uk/), and is free
@@ -21,7 +21,7 @@
/**
- * Action class for saving RDF-XML from the GATE GUI.
+ * Action class for saving CSV from the GATE GUI.
*/
public class ActionSaveCsv
extends AbstractAction {
Modified: gate/trunk/plugins/TermRaider/src/gate/termraider/util/Utilities.java
===================================================================
--- gate/trunk/plugins/TermRaider/src/gate/termraider/util/Utilities.java
2013-06-04 16:48:34 UTC (rev 16702)
+++ gate/trunk/plugins/TermRaider/src/gate/termraider/util/Utilities.java
2013-06-06 10:04:36 UTC (rev 16703)
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2008--2012, The University of Sheffield. See the file
+ * Copyright (c) 2008--2013, The University of Sheffield. See the file
* COPYRIGHT.txt in the software or at http://gate.ac.uk/gate/COPYRIGHT.txt
*
* This file is part of GATE (see http://gate.ac.uk/), and is free
@@ -22,7 +22,6 @@
public class Utilities implements ANNIEConstants {
public static final String EXTENSION_CSV = "csv";
- public static final String EXTENSION_RDF = "rdf";
private static double log10of2;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs