From: <ada...@us...> - 2013-02-08 12:11:42
|
Revision: 16515 http://sourceforge.net/p/gate/code/16515 Author: adamfunk Date: 2013-02-08 12:11:38 +0000 (Fri, 08 Feb 2013) Log Message: ----------- Adding Format_Twitter to plugins to build and the eclipse config; suppressin debugging output. Modified Paths: -------------- gate/trunk/.classpath gate/trunk/build.xml gate/trunk/plugins/Format_Twitter/src/gate/corpora/JSONTweetFormat.java Modified: gate/trunk/.classpath =================================================================== --- gate/trunk/.classpath 2013-02-08 11:56:19 UTC (rev 16514) +++ gate/trunk/.classpath 2013-02-08 12:11:38 UTC (rev 16515) @@ -32,6 +32,7 @@ <classpathentry kind="src" path="plugins/Language_Identification/src"/> <classpathentry kind="src" output="plugins/Tagger_Numbers/classes" path="plugins/Tagger_Numbers/src"/> <classpathentry kind="src" output="plugins/TermRaider/classes" path="plugins/TermRaider/src"/> + <classpathentry kind="src" output="plugins/Format_Twitter/classes" path="plugins/Format_Twitter/src"/> <classpathentry kind="lib" path="plugins/Gazetteer_Ontology_Based/lib/oro-2.0.8.jar"/> <classpathentry kind="lib" path="plugins/WordNet/lib/jwnl.jar"/> <classpathentry kind="lib" path="plugins/LingPipe/lib/lingpipe-4.0.1.jar"/> @@ -40,6 +41,9 @@ <classpathentry kind="lib" path="plugins/Ontology/lib/slf4j-api-1.5.6.jar"/> <classpathentry kind="lib" path="plugins/Ontology/lib/slf4j-jdk14-1.5.6.jar"/> <classpathentry kind="lib" path="plugins/OpenNLP/lib/opennlp-tools-1.5.2-incubating.jar"/> + <classpathentry kind="lib" path="plugins/Format_Twitter/lib/jackson-annotations-2.1.1.jar"/> + <classpathentry kind="lib" path="plugins/Format_Twitter/lib/jackson-core-2.1.1.jar"/> + <classpathentry kind="lib" path="plugins/Format_Twitter/lib/jackson-databind-2.1.1.jar"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="lib" path="plugins/Learning/lib/weka.jar"/> <classpathentry kind="lib" path="plugins/Web_Crawler_Websphinx/lib/websphinx.jar"/> Modified: gate/trunk/build.xml =================================================================== --- gate/trunk/build.xml 2013-02-08 11:56:19 UTC (rev 16514) +++ gate/trunk/build.xml 2013-02-08 12:11:38 UTC (rev 16515) @@ -363,8 +363,9 @@ <!-- Plugins --> <!-- Learning plugin needs to be before Lang_Chinese --> <filelist id="plugins.to.build" dir="plugins" files=" - Alignment Annotation_Merging Copy_Annots_Between_Docs Coref_Tools Format_MediaWiki - Format_PubMed Gazetteer_LKB Gazetteer_Ontology_Based GENIA Groovy + Alignment Annotation_Merging Copy_Annots_Between_Docs Coref_Tools + Format_MediaWiki Format_PubMed Format_Twitter + Gazetteer_LKB Gazetteer_Ontology_Based GENIA Groovy Inter_Annotator_Agreement JAPE_Plus Keyphrase_Extraction_Algorithm Lang_Arabic Lang_Cebuano Learning Lang_Chinese Lang_French Lang_German Lang_Hindi Lang_Romanian Language_Identification LingPipe Modified: gate/trunk/plugins/Format_Twitter/src/gate/corpora/JSONTweetFormat.java =================================================================== --- gate/trunk/plugins/Format_Twitter/src/gate/corpora/JSONTweetFormat.java 2013-02-08 11:56:19 UTC (rev 16514) +++ gate/trunk/plugins/Format_Twitter/src/gate/corpora/JSONTweetFormat.java 2013-02-08 12:11:38 UTC (rev 16515) @@ -114,7 +114,7 @@ //Tweet tweet = new Tweet(); String[] lines = string.split("[\\n\\r]+"); for (String line : lines) { - System.out.println("Item " + i + "\n" + line); + //System.out.println("Item " + i + "\n" + line); if (line.length() > 0) { JsonNode jnode = mapper.readTree(line); tweets.add(new Tweet(jnode)); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2014-03-01 14:20:38
|
Revision: 17496 http://sourceforge.net/p/gate/code/17496 Author: markagreenwood Date: 2014-03-01 14:20:35 +0000 (Sat, 01 Mar 2014) Log Message: ----------- the WordNet impl classes not have all the correct generics info, but more importantly the implement equals hand hashCode to make life easier when using the classes in anger Modified Paths: -------------- gate/trunk/plugins/WordNet/src/gate/wordnet/AdjectiveImpl.java gate/trunk/plugins/WordNet/src/gate/wordnet/LexicalRelationImpl.java gate/trunk/plugins/WordNet/src/gate/wordnet/RelationImpl.java gate/trunk/plugins/WordNet/src/gate/wordnet/SemanticRelationImpl.java gate/trunk/plugins/WordNet/src/gate/wordnet/SynsetImpl.java gate/trunk/plugins/WordNet/src/gate/wordnet/VerbFrameImpl.java gate/trunk/plugins/WordNet/src/gate/wordnet/VerbImpl.java gate/trunk/plugins/WordNet/src/gate/wordnet/WordImpl.java gate/trunk/plugins/WordNet/src/gate/wordnet/WordSenseImpl.java gate/trunk/plugins/WordNet/src/gate/wordnet/test/TestWordNet.java gate/trunk/src/main/gate/wordnet/Synset.java Modified: gate/trunk/plugins/WordNet/src/gate/wordnet/AdjectiveImpl.java =================================================================== --- gate/trunk/plugins/WordNet/src/gate/wordnet/AdjectiveImpl.java 2014-03-01 10:28:15 UTC (rev 17495) +++ gate/trunk/plugins/WordNet/src/gate/wordnet/AdjectiveImpl.java 2014-03-01 14:20:35 UTC (rev 17496) @@ -1,45 +1,61 @@ /* - * AdjectiveImpl.java - * - * Copyright (c) 1995-2012, 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 - * software, licenced under the GNU Library General Public License, - * Version 2, June 1991 (in the distribution as file licence.html, - * and also available at http://gate.ac.uk/gate/licence.html). - * - * Marin Dimitrov, 20/May/2002 - * - * $Id$ + * AdjectiveImpl.java + * + * Copyright (c) 1995-2012, 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 software, + * licenced under the GNU Library General Public License, Version 2, June 1991 + * (in the distribution as file licence.html, and also available at + * http://gate.ac.uk/gate/licence.html). + * + * Marin Dimitrov, 20/May/2002 + * + * $Id$ */ package gate.wordnet; import net.didion.jwnl.dictionary.Dictionary; -/** Represents WordNet adjective - * implements interface Adjective +/** + * Represents WordNet adjective implements interface Adjective */ -public class AdjectiveImpl extends WordSenseImpl - implements Adjective { +public class AdjectiveImpl extends WordSenseImpl implements Adjective { private int adjPosition; - public AdjectiveImpl(Word _word, - Synset _synset, - int _senseNumber, - int _orderInSynset, - boolean _isSemcor, - int _adjPosition, - Dictionary _wnDict) { + public AdjectiveImpl(WordImpl _word, SynsetImpl _synset, int _senseNumber, + int _orderInSynset, boolean _isSemcor, int _adjPosition, + Dictionary _wnDict) { - super(_word,_synset,_senseNumber,_orderInSynset,_isSemcor, _wnDict); + super(_word, _synset, _senseNumber, _orderInSynset, _isSemcor, _wnDict); this.adjPosition = _adjPosition; } - /** returns the syntactic position of the adjective in relation to noun that it modifies */ + /** + * returns the syntactic position of the adjective in relation to noun that it + * modifies + */ public int getAdjectivePosition() { return this.adjPosition; } + + @Override + public int hashCode() { + final int prime = 31; + int result = super.hashCode(); + result = prime * result + adjPosition; + return result; + } + + @Override + public boolean equals(Object obj) { + if(this == obj) return true; + if(!super.equals(obj)) return false; + if(getClass() != obj.getClass()) return false; + AdjectiveImpl other = (AdjectiveImpl)obj; + if(adjPosition != other.adjPosition) return false; + return true; + } } \ No newline at end of file Modified: gate/trunk/plugins/WordNet/src/gate/wordnet/LexicalRelationImpl.java =================================================================== --- gate/trunk/plugins/WordNet/src/gate/wordnet/LexicalRelationImpl.java 2014-03-01 10:28:15 UTC (rev 17495) +++ gate/trunk/plugins/WordNet/src/gate/wordnet/LexicalRelationImpl.java 2014-03-01 14:20:35 UTC (rev 17496) @@ -1,36 +1,38 @@ /* - * LexicalRelation.java - * - * Copyright (c) 1995-2012, 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 - * software, licenced under the GNU Library General Public License, - * Version 2, June 1991 (in the distribution as file licence.html, - * and also available at http://gate.ac.uk/gate/licence.html). - * - * Marin Dimitrov, 16/May/2002 - * - * $Id$ + * LexicalRelation.java + * + * Copyright (c) 1995-2012, 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 software, + * licenced under the GNU Library General Public License, Version 2, June 1991 + * (in the distribution as file licence.html, and also available at + * http://gate.ac.uk/gate/licence.html). + * + * Marin Dimitrov, 16/May/2002 + * + * $Id$ */ package gate.wordnet; import junit.framework.Assert; -/** Represents WordNet lexical relation. - * implrments LexicalRelation +/** + * Represents WordNet lexical relation. implrments LexicalRelation */ -public class LexicalRelationImpl extends RelationImpl - implements LexicalRelation { +public class LexicalRelationImpl extends RelationImpl implements + LexicalRelation { /** relation source */ - private WordSense source; + private WordSenseImpl source; + /** relation target */ - private WordSense target; + private WordSenseImpl target; - public LexicalRelationImpl(int _type, WordSense _src, WordSense _target) { + public LexicalRelationImpl(int _type, WordSenseImpl _src, + WordSenseImpl _target) { super(_type); @@ -42,16 +44,37 @@ this.target = _target; } - /** returns the source (WordSense) of this lexical relation */ public WordSense getSource() { return this.source; } - /** returns the target (WordSense) of this lexical relation */ public WordSense getTarget() { return this.target; } + @Override + public int hashCode() { + final int prime = 31; + int result = super.hashCode(); + result = prime * result + ((source == null) ? 0 : source.hashCode()); + result = prime * result + ((target == null) ? 0 : target.hashCode()); + return result; + } + + @Override + public boolean equals(Object obj) { + if(this == obj) return true; + if(!super.equals(obj)) return false; + if(getClass() != obj.getClass()) return false; + LexicalRelationImpl other = (LexicalRelationImpl)obj; + if(source == null) { + if(other.source != null) return false; + } else if(!source.equals(other.source)) return false; + if(target == null) { + if(other.target != null) return false; + } else if(!target.equals(other.target)) return false; + return true; + } } \ No newline at end of file Modified: gate/trunk/plugins/WordNet/src/gate/wordnet/RelationImpl.java =================================================================== --- gate/trunk/plugins/WordNet/src/gate/wordnet/RelationImpl.java 2014-03-01 10:28:15 UTC (rev 17495) +++ gate/trunk/plugins/WordNet/src/gate/wordnet/RelationImpl.java 2014-03-01 14:20:35 UTC (rev 17496) @@ -1,22 +1,21 @@ /* - * Synset.java - * - * Copyright (c) 1995-2012, 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 - * software, licenced under the GNU Library General Public License, - * Version 2, June 1991 (in the distribution as file licence.html, - * and also available at http://gate.ac.uk/gate/licence.html). - * - * Marin Dimitrov, 16/May/2002 - * - * $Id$ + * Synset.java + * + * Copyright (c) 1995-2012, 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 software, + * licenced under the GNU Library General Public License, Version 2, June 1991 + * (in the distribution as file licence.html, and also available at + * http://gate.ac.uk/gate/licence.html). + * + * Marin Dimitrov, 16/May/2002 + * + * $Id$ */ package gate.wordnet; - class RelationImpl implements Relation { private int type; @@ -26,29 +25,25 @@ this.type = _type; } - - /** returns the type of the relation - one of REL_XXX*/ + /** returns the type of the relation - one of REL_XXX */ public int getType() { return this.type; } - /** returns a symbol for the relation, e.g. "@" */ public String getSymbol() { return WNHelper.int2PointerType(this.type).getKey(); } - /** returns a label for the relation, e.g. "HYPERNYM" */ public String getLabel() { return WNHelper.int2PointerType(this.type).getLabel(); } - - /** returns the inverse relation (Hyponym <-> Hypernym, etc)*/ + /** returns the inverse relation (Hyponym <-> Hypernym, etc) */ public int getInverseType() { - switch(this.type) { + switch(this.type){ case Relation.REL_ANTONYM: return Relation.REL_ANTONYM; @@ -79,10 +74,29 @@ } } - - /** checks if the relation is applicab;le to specific POS - see REL_XXX comments */ + /** + * checks if the relation is applicab;le to specific POS - see REL_XXX + * comments + */ public boolean isApplicableTo(int pos) { return WNHelper.int2PointerType(this.type).appliesTo(WNHelper.int2POS(pos)); } + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + type; + return result; + } + + @Override + public boolean equals(Object obj) { + if(this == obj) return true; + if(obj == null) return false; + if(getClass() != obj.getClass()) return false; + RelationImpl other = (RelationImpl)obj; + if(type != other.type) return false; + return true; + } } \ No newline at end of file Modified: gate/trunk/plugins/WordNet/src/gate/wordnet/SemanticRelationImpl.java =================================================================== --- gate/trunk/plugins/WordNet/src/gate/wordnet/SemanticRelationImpl.java 2014-03-01 10:28:15 UTC (rev 17495) +++ gate/trunk/plugins/WordNet/src/gate/wordnet/SemanticRelationImpl.java 2014-03-01 14:20:35 UTC (rev 17496) @@ -1,31 +1,32 @@ /* - * SemanticRelation.java - * - * Copyright (c) 1995-2012, 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 - * software, licenced under the GNU Library General Public License, - * Version 2, June 1991 (in the distribution as file licence.html, - * and also available at http://gate.ac.uk/gate/licence.html). - * - * Marin Dimitrov, 16/May/2002 - * - * $Id$ + * SemanticRelation.java + * + * Copyright (c) 1995-2012, 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 software, + * licenced under the GNU Library General Public License, Version 2, June 1991 + * (in the distribution as file licence.html, and also available at + * http://gate.ac.uk/gate/licence.html). + * + * Marin Dimitrov, 16/May/2002 + * + * $Id$ */ package gate.wordnet; import junit.framework.Assert; -public class SemanticRelationImpl extends RelationImpl - implements SemanticRelation { +public class SemanticRelationImpl extends RelationImpl implements + SemanticRelation { - private Synset source; - private Synset target; + private SynsetImpl source; - public SemanticRelationImpl(int _type, Synset _src, Synset _target) { + private SynsetImpl target; + public SemanticRelationImpl(int _type, SynsetImpl _src, SynsetImpl _target) { + super(_type); Assert.assertNotNull(_src); @@ -36,7 +37,6 @@ this.target = _target; } - /** returns the source (Synset) of this lexical relation */ public Synset getSource() { return this.source; @@ -47,4 +47,27 @@ return this.target; } + @Override + public int hashCode() { + final int prime = 31; + int result = super.hashCode(); + result = prime * result + ((source == null) ? 0 : source.hashCode()); + result = prime * result + ((target == null) ? 0 : target.hashCode()); + return result; + } + + @Override + public boolean equals(Object obj) { + if(this == obj) return true; + if(!super.equals(obj)) return false; + if(getClass() != obj.getClass()) return false; + SemanticRelationImpl other = (SemanticRelationImpl)obj; + if(source == null) { + if(other.source != null) return false; + } else if(!source.equals(other.source)) return false; + if(target == null) { + if(other.target != null) return false; + } else if(!target.equals(other.target)) return false; + return true; + } } \ No newline at end of file Modified: gate/trunk/plugins/WordNet/src/gate/wordnet/SynsetImpl.java =================================================================== --- gate/trunk/plugins/WordNet/src/gate/wordnet/SynsetImpl.java 2014-03-01 10:28:15 UTC (rev 17495) +++ gate/trunk/plugins/WordNet/src/gate/wordnet/SynsetImpl.java 2014-03-01 14:20:35 UTC (rev 17496) @@ -1,17 +1,17 @@ /* - * Relation.java - * - * Copyright (c) 1995-2012, 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 - * software, licenced under the GNU Library General Public License, - * Version 2, June 1991 (in the distribution as file licence.html, - * and also available at http://gate.ac.uk/gate/licence.html). - * - * Marin Dimitrov, 16/May/2002 - * - * $Id$ + * Relation.java + * + * Copyright (c) 1995-2012, 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 software, + * licenced under the GNU Library General Public License, Version 2, June 1991 + * (in the distribution as file licence.html, and also available at + * http://gate.ac.uk/gate/licence.html). + * + * Marin Dimitrov, 16/May/2002 + * + * $Id$ */ package gate.wordnet; @@ -25,92 +25,87 @@ import gate.util.GateRuntimeException; - public class SynsetImpl implements Synset { private List<WordSense> wordSenses; + private List<SemanticRelation> semRelations; + private String gloss; + private int synsetPOS; + Dictionary wnDictionary; + private long synsetOffset; - public SynsetImpl(net.didion.jwnl.data.Synset jwSynset, Dictionary _wnDictionary) throws GateRuntimeException { + public SynsetImpl(net.didion.jwnl.data.Synset jwSynset, + Dictionary _wnDictionary) throws GateRuntimeException { - //0. + // 0. Assert.assertNotNull(jwSynset); - //dictionary + // dictionary this.wnDictionary = _wnDictionary; - //offset + // offset this.synsetOffset = jwSynset.getOffset(); - //pos + // pos this.synsetPOS = WNHelper.POS2int(jwSynset.getPOS()); - //gloss + // gloss this.gloss = jwSynset.getGloss(); - //word senses + // word senses net.didion.jwnl.data.Word[] synsetWords = jwSynset.getWords(); this.wordSenses = new ArrayList<WordSense>(synsetWords.length); - for (int i= 0; i< synsetWords.length; i++) { + for(int i = 0; i < synsetWords.length; i++) { net.didion.jwnl.data.Word jwWord = synsetWords[i]; IndexWord jwIndexWord = null; try { - jwIndexWord = this.wnDictionary.lookupIndexWord(jwWord.getPOS(),jwWord.getLemma()); - } - catch(JWNLException jwe) { + jwIndexWord = + this.wnDictionary.lookupIndexWord(jwWord.getPOS(), jwWord.getLemma()); + } catch(JWNLException jwe) { throw new GateRuntimeException(jwe.getMessage()); } - Word gateWord = new WordImpl(jwWord.getLemma(), - jwIndexWord.getSenseCount(), - this.wnDictionary); + WordImpl gateWord = + new WordImpl(jwWord.getLemma(), jwIndexWord.getSenseCount(), + this.wnDictionary); - //construct the proper word form + // construct the proper word form WordSense gateWordSense = null; - /* if (this.synsetPOS == WordNet.POS_ADJECTIVE) { + /* + * if (this.synsetPOS == WordNet.POS_ADJECTIVE) { + * + * //Assert.assertTrue(jwWord instanceof net.didion.jwnl.data.Adjective); + * net.didion.jwnl.data.Adjective jwAdjective = + * (net.didion.jwnl.data.Adjective)jwWord; + * + * gateWordSense = new AdjectiveImpl(gateWord, this, 0, jwWord.getIndex(), + * false, WNHelper.AdjPosition2int(jwAdjective), this.wnDictionary); } + * + * else + */ + if(this.synsetPOS == WordNet.POS_VERB) { - //Assert.assertTrue(jwWord instanceof net.didion.jwnl.data.Adjective); - net.didion.jwnl.data.Adjective jwAdjective = (net.didion.jwnl.data.Adjective)jwWord; - - gateWordSense = new AdjectiveImpl(gateWord, - this, - 0, - jwWord.getIndex(), - false, - WNHelper.AdjPosition2int(jwAdjective), - this.wnDictionary); - } - - else*/ - if (this.synsetPOS == WordNet.POS_VERB) { - Assert.assertTrue(jwWord instanceof net.didion.jwnl.data.Verb); net.didion.jwnl.data.Verb jwVerb = (net.didion.jwnl.data.Verb)jwWord; - gateWordSense = new VerbImpl(gateWord, - this, - 0, - jwWord.getIndex(), - false, - jwVerb, - this.wnDictionary); + gateWordSense = + new VerbImpl(gateWord, this, 0, jwWord.getIndex(), false, jwVerb, + this.wnDictionary); } else { - gateWordSense = new WordSenseImpl(gateWord, - this, - 0, - jwWord.getIndex(), - false, - this.wnDictionary); + gateWordSense = + new WordSenseImpl(gateWord, this, 0, jwWord.getIndex(), false, + this.wnDictionary); } this.wordSenses.add(gateWordSense); @@ -118,40 +113,40 @@ } - /** returns the part-of-speech for this synset, see WordNet::POS_XXX constants */ - public int getPOS(){ + public int getPOS() { return this.synsetPOS; } /** is this synset a UB - i.e. has no hypernym */ public boolean isUniqueBeginner() throws WordNetException { - List<SemanticRelation> parents = getSemanticRelations(Relation.REL_HYPERNYM); + List<SemanticRelation> parents = + getSemanticRelations(Relation.REL_HYPERNYM); return parents.isEmpty(); } /** textual description of the synset */ - public String getGloss(){ + public String getGloss() { return this.gloss; } - /** WordSenses contained in this synset */ - public List<WordSense> getWordSenses(){ + public List<WordSense> getWordSenses() { return this.wordSenses; } - - /** get specific WordSense according to its order in the synset - most important senses come first */ - public WordSense getWordSense(int offset){ + /** + * get specific WordSense according to its order in the synset - most + * important senses come first + */ + public WordSense getWordSense(int offset) { return (WordSense)this.wordSenses.get(offset); } - /** get the SemanticRelation-s of this synset */ - public List<SemanticRelation> getSemanticRelations() throws WordNetException{ + public List<SemanticRelation> getSemanticRelations() throws WordNetException { - if (null == this.semRelations) { + if(null == this.semRelations) { _loadSemanticRelations(); } @@ -159,19 +154,20 @@ } /** get the SemanticRelation-s of specific type (HYPERNYm) for this synset */ - public List<SemanticRelation> getSemanticRelations(int type) throws WordNetException{ + public List<SemanticRelation> getSemanticRelations(int type) + throws WordNetException { List<SemanticRelation> result = new ArrayList<SemanticRelation>(1); - if (null == this.semRelations) { + if(null == this.semRelations) { _loadSemanticRelations(); } Iterator<SemanticRelation> it = this.semRelations.iterator(); - while (it.hasNext()) { + while(it.hasNext()) { SemanticRelation sRel = (SemanticRelation)it.next(); Assert.assertNotNull(sRel); - if (type == sRel.getType()) { + if(type == sRel.getType()) { result.add(sRel); } } @@ -179,47 +175,47 @@ return result; } + private void _loadSemanticRelations() throws WordNetException { - private void _loadSemanticRelations() throws WordNetException{ - POS jwPOS = null; jwPOS = WNHelper.int2POS(this.synsetPOS); try { - net.didion.jwnl.data.Synset jwSynset = this.wnDictionary.getSynsetAt(jwPOS,this.synsetOffset); + net.didion.jwnl.data.Synset jwSynset = + this.wnDictionary.getSynsetAt(jwPOS, this.synsetOffset); Assert.assertNotNull(jwSynset); Pointer[] jwPointers = jwSynset.getPointers(); this.semRelations = new ArrayList<SemanticRelation>(jwPointers.length); - for (int i= 0; i< jwPointers.length; i++) { + for(int i = 0; i < jwPointers.length; i++) { Pointer currPointer = jwPointers[i]; - //skip lexical relations - if (true == currPointer.isLexical()) { + // skip lexical relations + if(true == currPointer.isLexical()) { continue; } PointerType currType = currPointer.getType(); try { - -// PointerTarget ptrSource = currPointer.getSource(); - PointerTarget ptrTarget = currPointer.getTarget(); - Assert.assertTrue(ptrTarget instanceof net.didion.jwnl.data.Synset); - net.didion.jwnl.data.Synset jwTargetSynset = (net.didion.jwnl.data.Synset)ptrTarget; - Synset gateTargetSynset = new SynsetImpl(jwTargetSynset,this.wnDictionary); - SemanticRelation currSemRel = new SemanticRelationImpl(WNHelper.PointerType2int(currType), - this, - gateTargetSynset); - //add to list of sem relations for this synset - this.semRelations.add(currSemRel); + // PointerTarget ptrSource = currPointer.getSource(); + PointerTarget ptrTarget = currPointer.getTarget(); + Assert.assertTrue(ptrTarget instanceof net.didion.jwnl.data.Synset); + net.didion.jwnl.data.Synset jwTargetSynset = + (net.didion.jwnl.data.Synset)ptrTarget; + + SynsetImpl gateTargetSynset = + new SynsetImpl(jwTargetSynset, this.wnDictionary); + SemanticRelation currSemRel = + new SemanticRelationImpl(WNHelper.PointerType2int(currType), this, + gateTargetSynset); + // add to list of sem relations for this synset + this.semRelations.add(currSemRel); + } catch(IllegalArgumentException e) { + // System.err.println("Unknown PointerType:" + currType); } - catch (IllegalArgumentException e){ - //System.err.println("Unknown PointerType:" + currType); - } } - } - catch(JWNLException e) { + } catch(JWNLException e) { throw new WordNetException(e); } } @@ -229,4 +225,24 @@ return this.synsetOffset; } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + (int)(synsetOffset ^ (synsetOffset >>> 32)); + result = prime * result + synsetPOS; + return result; + } + + @Override + public boolean equals(Object obj) { + if(this == obj) return true; + if(obj == null) return false; + if(getClass() != obj.getClass()) return false; + SynsetImpl other = (SynsetImpl)obj; + if(synsetOffset != other.synsetOffset) return false; + if(synsetPOS != other.synsetPOS) return false; + return true; + } } \ No newline at end of file Modified: gate/trunk/plugins/WordNet/src/gate/wordnet/VerbFrameImpl.java =================================================================== --- gate/trunk/plugins/WordNet/src/gate/wordnet/VerbFrameImpl.java 2014-03-01 10:28:15 UTC (rev 17495) +++ gate/trunk/plugins/WordNet/src/gate/wordnet/VerbFrameImpl.java 2014-03-01 14:20:35 UTC (rev 17496) @@ -1,17 +1,17 @@ /* - * VerbFrameImpl.java - * - * Copyright (c) 1995-2012, 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 - * software, licenced under the GNU Library General Public License, - * Version 2, June 1991 (in the distribution as file licence.html, - * and also available at http://gate.ac.uk/gate/licence.html). - * - * Marin Dimitrov, 16/May/2002 - * - * $Id$ + * VerbFrameImpl.java + * + * Copyright (c) 1995-2012, 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 software, + * licenced under the GNU Library General Public License, Version 2, June 1991 + * (in the distribution as file licence.html, and also available at + * http://gate.ac.uk/gate/licence.html). + * + * Marin Dimitrov, 16/May/2002 + * + * $Id$ */ package gate.wordnet; @@ -32,4 +32,23 @@ return this.frame; } + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + ((frame == null) ? 0 : frame.hashCode()); + return result; + } + + @Override + public boolean equals(Object obj) { + if(this == obj) return true; + if(obj == null) return false; + if(getClass() != obj.getClass()) return false; + VerbFrameImpl other = (VerbFrameImpl)obj; + if(frame == null) { + if(other.frame != null) return false; + } else if(!frame.equals(other.frame)) return false; + return true; + } } \ No newline at end of file Modified: gate/trunk/plugins/WordNet/src/gate/wordnet/VerbImpl.java =================================================================== --- gate/trunk/plugins/WordNet/src/gate/wordnet/VerbImpl.java 2014-03-01 10:28:15 UTC (rev 17495) +++ gate/trunk/plugins/WordNet/src/gate/wordnet/VerbImpl.java 2014-03-01 14:20:35 UTC (rev 17496) @@ -1,17 +1,17 @@ /* - * VerbImpl.java - * - * Copyright (c) 1995-2012, 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 - * software, licenced under the GNU Library General Public License, - * Version 2, June 1991 (in the distribution as file licence.html, - * and also available at http://gate.ac.uk/gate/licence.html). - * - * Marin Dimitrov, 20/May/2002 - * - * $Id$ + * VerbImpl.java + * + * Copyright (c) 1995-2012, 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 software, + * licenced under the GNU Library General Public License, Version 2, June 1991 + * (in the distribution as file licence.html, and also available at + * http://gate.ac.uk/gate/licence.html). + * + * Marin Dimitrov, 20/May/2002 + * + * $Id$ */ package gate.wordnet; @@ -22,29 +22,25 @@ import junit.framework.Assert; import net.didion.jwnl.dictionary.Dictionary; -/** Represents WordNet verb. +/** + * Represents WordNet verb. */ -public class VerbImpl extends WordSenseImpl - implements Verb { +public class VerbImpl extends WordSenseImpl implements Verb { private List<VerbFrame> verbFrames; - public VerbImpl(Word _word, - Synset _synset, - int _senseNumber, - int _orderInSynset, - boolean _isSemcor, - net.didion.jwnl.data.Verb _jwVerb, - Dictionary _wnDict) { + public VerbImpl(WordImpl _word, SynsetImpl _synset, int _senseNumber, + int _orderInSynset, boolean _isSemcor, + net.didion.jwnl.data.Verb _jwVerb, Dictionary _wnDict) { - super(_word,_synset,_senseNumber,_orderInSynset,_isSemcor, _wnDict); + super(_word, _synset, _senseNumber, _orderInSynset, _isSemcor, _wnDict); Assert.assertNotNull(_jwVerb); String[] jwFrames = _jwVerb.getVerbFrames(); this.verbFrames = new ArrayList<VerbFrame>(jwFrames.length); - for (int i= 0; i< jwFrames.length; i++) { + for(int i = 0; i < jwFrames.length; i++) { this.verbFrames.add(new VerbFrameImpl(jwFrames[i])); } } @@ -53,4 +49,26 @@ public List<VerbFrame> getVerbFrames() { return this.verbFrames; } + + @Override + public int hashCode() { + final int prime = 31; + int result = super.hashCode(); + result = + prime * result + ((verbFrames == null) ? 0 : verbFrames.hashCode()); + return result; + } + + @Override + public boolean equals(Object obj) { + if(this == obj) return true; + if(!super.equals(obj)) return false; + if(getClass() != obj.getClass()) return false; + VerbImpl other = (VerbImpl)obj; + if(verbFrames == null) { + if(other.verbFrames != null) return false; + } else if(!verbFrames.equals(other.verbFrames)) return false; + return true; + } + } \ No newline at end of file Modified: gate/trunk/plugins/WordNet/src/gate/wordnet/WordImpl.java =================================================================== --- gate/trunk/plugins/WordNet/src/gate/wordnet/WordImpl.java 2014-03-01 10:28:15 UTC (rev 17495) +++ gate/trunk/plugins/WordNet/src/gate/wordnet/WordImpl.java 2014-03-01 14:20:35 UTC (rev 17496) @@ -93,4 +93,24 @@ public int getSenseCount(){ return this.senseCount; } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + ((lemma == null) ? 0 : lemma.hashCode()); + return result; + } + + @Override + public boolean equals(Object obj) { + if(this == obj) return true; + if(obj == null) return false; + if(getClass() != obj.getClass()) return false; + WordImpl other = (WordImpl)obj; + if(lemma == null) { + if(other.lemma != null) return false; + } else if(!lemma.equals(other.lemma)) return false; + return true; + } } \ No newline at end of file Modified: gate/trunk/plugins/WordNet/src/gate/wordnet/WordSenseImpl.java =================================================================== --- gate/trunk/plugins/WordNet/src/gate/wordnet/WordSenseImpl.java 2014-03-01 10:28:15 UTC (rev 17495) +++ gate/trunk/plugins/WordNet/src/gate/wordnet/WordSenseImpl.java 2014-03-01 14:20:35 UTC (rev 17496) @@ -16,26 +16,32 @@ package gate.wordnet; -import java.util.*; +import java.util.ArrayList; +import java.util.Iterator; +import java.util.List; import junit.framework.Assert; import net.didion.jwnl.JWNLException; -import net.didion.jwnl.data.*; +import net.didion.jwnl.data.IndexWord; +import net.didion.jwnl.data.POS; +import net.didion.jwnl.data.Pointer; +import net.didion.jwnl.data.PointerTarget; +import net.didion.jwnl.data.PointerType; import net.didion.jwnl.dictionary.Dictionary; public class WordSenseImpl implements WordSense { - private Word word; - private Synset synset; + private WordImpl word; + private SynsetImpl synset; private int senseNumber; private int orderInSynset; private boolean isSemcor; private List<LexicalRelation> lexRelations; private Dictionary wnDictionary; - public WordSenseImpl(Word _word, - Synset _synset, + public WordSenseImpl(WordImpl _word, + SynsetImpl _synset, int _senseNumber, int _orderInSynset, boolean _isSemcor, @@ -160,13 +166,13 @@ IndexWord jwTargetIndexWord = this.wnDictionary.lookupIndexWord(jwTargetWord.getPOS(), jwTargetWord.getLemma()); - Synset gateSynset = new SynsetImpl(jwTargetSynset,this.wnDictionary); + SynsetImpl gateSynset = new SynsetImpl(jwTargetSynset,this.wnDictionary); - Word gateWord = new WordImpl(jwTargetWord.getLemma(), + WordImpl gateWord = new WordImpl(jwTargetWord.getLemma(), jwTargetIndexWord.getSenseCount(), this.wnDictionary); - WordSense gateTargetWordSense = new WordSenseImpl(gateWord, + WordSenseImpl gateTargetWordSense = new WordSenseImpl(gateWord, gateSynset, 0, jwTargetWord.getIndex(), @@ -188,4 +194,28 @@ throw new WordNetException(e); } } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + ((synset == null) ? 0 : synset.hashCode()); + result = prime * result + ((word == null) ? 0 : word.hashCode()); + return result; + } + + @Override + public boolean equals(Object obj) { + if(this == obj) return true; + if(obj == null) return false; + if(getClass() != obj.getClass()) return false; + WordSenseImpl other = (WordSenseImpl)obj; + if(synset == null) { + if(other.synset != null) return false; + } else if(!synset.equals(other.synset)) return false; + if(word == null) { + if(other.word != null) return false; + } else if(!word.equals(other.word)) return false; + return true; + } } \ No newline at end of file Modified: gate/trunk/plugins/WordNet/src/gate/wordnet/test/TestWordNet.java =================================================================== --- gate/trunk/plugins/WordNet/src/gate/wordnet/test/TestWordNet.java 2014-03-01 10:28:15 UTC (rev 17495) +++ gate/trunk/plugins/WordNet/src/gate/wordnet/test/TestWordNet.java 2014-03-01 14:20:35 UTC (rev 17496) @@ -16,17 +16,23 @@ package gate.wordnet.test; +import gate.Gate; +import gate.GateConstants; +import gate.util.Err; +import gate.wordnet.JWNLWordNetImpl; +import gate.wordnet.SemanticRelation; +import gate.wordnet.Synset; +import gate.wordnet.WordNet; +import gate.wordnet.WordSense; + import java.io.File; -import java.util.Iterator; import java.util.List; -import junit.framework.*; +import junit.framework.Assert; +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; -import gate.Gate; -import gate.GateConstants; -import gate.util.Err; -import gate.wordnet.*; - public class TestWordNet extends TestCase { private static WordNet wnMain = null; @@ -66,14 +72,12 @@ //WN16 index files //get all synsets for "cup" - List senseList = wnMain.lookupWord("cup",WordNet.POS_NOUN); + List<WordSense> senseList = wnMain.lookupWord("cup",WordNet.POS_NOUN); Assert.assertTrue(senseList.size() == 8); - Iterator itSenses = senseList.iterator(); - for (int i=0; i< senseList.size(); i++) { - WordSense currSense = (WordSense)senseList.get(i); + WordSense currSense = senseList.get(i); Synset currSynset = currSense.getSynset(); Assert.assertNotNull(currSynset); @@ -144,11 +148,9 @@ //compare the result with the WN16 index files //get all synsets for "cup" - List senseList = wnMain.lookupWord("cup",WordNet.POS_NOUN); + List<WordSense> senseList = wnMain.lookupWord("cup",WordNet.POS_NOUN); Assert.assertTrue(senseList.size() == 8); - Iterator itSenses = senseList.iterator(); - for (int i=0; i< senseList.size(); i++) { WordSense currSense = (WordSense)senseList.get(i); @@ -159,7 +161,7 @@ continue; } - List semRelations = currSynset.getSemanticRelations(SemanticRelation.REL_HYPERNYM); + List<SemanticRelation> semRelations = currSynset.getSemanticRelations(SemanticRelation.REL_HYPERNYM); Assert.assertNotNull(semRelations); Assert.assertTrue(2 == semRelations.size()); @@ -231,11 +233,9 @@ //test hyponymy - check all direct hyponyms of a word //compare the result with the WN16 index files - List senseList = wnMain.lookupWord("cup",WordNet.POS_NOUN); + List<WordSense> senseList = wnMain.lookupWord("cup",WordNet.POS_NOUN); Assert.assertTrue(senseList.size() == 8); - Iterator itSenses = senseList.iterator(); - for (int i=0; i< senseList.size(); i++) { WordSense currSense = (WordSense)senseList.get(i); @@ -246,7 +246,7 @@ continue; } - List semRelations = currSynset.getSemanticRelations(SemanticRelation.REL_HYPONYM); + List<SemanticRelation> semRelations = currSynset.getSemanticRelations(SemanticRelation.REL_HYPONYM); Assert.assertNotNull(semRelations); Assert.assertTrue(9 == semRelations.size()); @@ -325,7 +325,7 @@ Assert.assertEquals(s.getGloss(),gloss); - List wordSenses = s.getWordSenses(); + List<WordSense> wordSenses = s.getWordSenses(); Assert.assertTrue(wordSenses.size() == numWords); } Modified: gate/trunk/src/main/gate/wordnet/Synset.java =================================================================== --- gate/trunk/src/main/gate/wordnet/Synset.java 2014-03-01 10:28:15 UTC (rev 17495) +++ gate/trunk/src/main/gate/wordnet/Synset.java 2014-03-01 14:20:35 UTC (rev 17496) @@ -18,7 +18,6 @@ import java.util.List; - /** Represents WordNet synset. */ public interface Synset { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2014-03-11 12:36:53
|
Revision: 17625 http://sourceforge.net/p/gate/code/17625 Author: markagreenwood Date: 2014-03-11 12:36:49 +0000 (Tue, 11 Mar 2014) Log Message: ----------- upgraded java-getopt to v1.0.13 which is now under the gnu.getopt groupId Modified Paths: -------------- gate/trunk/build/deploy/maven/gate-core.pom.template gate/trunk/ivy.xml Modified: gate/trunk/build/deploy/maven/gate-core.pom.template =================================================================== --- gate/trunk/build/deploy/maven/gate-core.pom.template 2014-03-11 12:27:32 UTC (rev 17624) +++ gate/trunk/build/deploy/maven/gate-core.pom.template 2014-03-11 12:36:49 UTC (rev 17625) @@ -228,9 +228,9 @@ <!-- used to parse command line options passed to the GATE GUI --> <dependency> - <groupId>urbanophile</groupId> + <groupId>gnu.getopt</groupId> <artifactId>java-getopt</artifactId> - <version>1.0.9</version> + <version>1.0.13</version> <scope>compile</scope> </dependency> Modified: gate/trunk/ivy.xml =================================================================== --- gate/trunk/ivy.xml 2014-03-11 12:27:32 UTC (rev 17624) +++ gate/trunk/ivy.xml 2014-03-11 12:36:49 UTC (rev 17625) @@ -86,7 +86,7 @@ <dependency org="jaxen" name="jaxen" rev="1.1.6" conf="runtime->master" /> <!-- used to parse command line options passed to the GATE GUI --> - <dependency org="urbanophile" name="java-getopt" rev="1.0.9" /> + <dependency org="gnu.getopt" name="java-getopt" rev="1.0.13" /> <!-- required for Spring Framework support in GATE --> <dependency org="org.springframework" name="spring-aop" rev="2.0.8" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2014-05-07 09:45:27
|
Revision: 17924 http://sourceforge.net/p/gate/code/17924 Author: markagreenwood Date: 2014-05-07 09:45:23 +0000 (Wed, 07 May 2014) Log Message: ----------- removed the classpath URL protocol again as it can't work (this time I've checked) because Java assumes all URL handlers are available via the system classpath and this one isn't. I've also 'fixed' an issue that silently swollowed malformed URL excpetions when creating resources, which could lead to weird things happening, like an empty doc if you got the protocol wrong Modified Paths: -------------- gate/trunk/build.xml gate/trunk/src/main/gate/Gate.java gate/trunk/src/main/gate/creole/Parameter.java gate/trunk/src/main/gate/creole/ParameterException.java Removed Paths: ------------- gate/trunk/src/main/gate/util/protocols/ Modified: gate/trunk/build.xml =================================================================== --- gate/trunk/build.xml 2014-05-07 08:21:29 UTC (rev 17923) +++ gate/trunk/build.xml 2014-05-07 09:45:23 UTC (rev 17924) @@ -544,6 +544,9 @@ </target> <target name="test.coverage" depends="test.gate" > + <!-- this isn't used by jenkins so class/package exclusions have to be done + via the jenkins web interface if as well if you want to keep the two + different report processes in sync with one another --> <jacoco:report> <executiondata> <file file="jacoco.exec"/> Modified: gate/trunk/src/main/gate/Gate.java =================================================================== --- gate/trunk/src/main/gate/Gate.java 2014-05-07 08:21:29 UTC (rev 17923) +++ gate/trunk/src/main/gate/Gate.java 2014-05-07 09:45:23 UTC (rev 17924) @@ -198,11 +198,6 @@ } } - // register the URL handler for the "gate://" URLs - System.setProperty("java.protocol.handler.pkgs", System - .getProperty("java.protocol.handler.pkgs") - + "|" + "gate.util.protocols"); - // initialise the symbols generator lastSym = 0; Modified: gate/trunk/src/main/gate/creole/Parameter.java =================================================================== --- gate/trunk/src/main/gate/creole/Parameter.java 2014-05-07 08:21:29 UTC (rev 17923) +++ gate/trunk/src/main/gate/creole/Parameter.java 2014-05-07 09:45:23 UTC (rev 17924) @@ -284,7 +284,8 @@ value = new URL(baseURL, stringValue); } }catch(MalformedURLException mue){ - value = null; + //value = null; + throw new ParameterException("Malformed URL parameter value: "+stringValue,mue); } else{ //try to construct a new value from the string using a constructor Modified: gate/trunk/src/main/gate/creole/ParameterException.java =================================================================== --- gate/trunk/src/main/gate/creole/ParameterException.java 2014-05-07 08:21:29 UTC (rev 17923) +++ gate/trunk/src/main/gate/creole/ParameterException.java 2014-05-07 09:45:23 UTC (rev 17924) @@ -33,6 +33,10 @@ } public ParameterException(Exception e) { - super(e.toString()); + super(e); } + + public ParameterException(String s, Exception e) { + super(s,e); + } } // ParameterException This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2015-05-21 10:42:03
|
Revision: 18697 http://sourceforge.net/p/gate/code/18697 Author: markagreenwood Date: 2015-05-21 10:42:00 +0000 (Thu, 21 May 2015) Log Message: ----------- fixed two bugs that caused the segement processing PR to re-use annotation ids in some circumstances leading to the loss of annotations -- fixes sourceforge bug #188 Modified Paths: -------------- gate/trunk/plugins/Alignment/src/gate/composite/impl/SegmentProcessingPR.java gate/trunk/src/main/gate/annotation/AnnotationSetImpl.java Modified: gate/trunk/plugins/Alignment/src/gate/composite/impl/SegmentProcessingPR.java =================================================================== --- gate/trunk/plugins/Alignment/src/gate/composite/impl/SegmentProcessingPR.java 2015-05-21 01:20:06 UTC (rev 18696) +++ gate/trunk/plugins/Alignment/src/gate/composite/impl/SegmentProcessingPR.java 2015-05-21 10:42:00 UTC (rev 18697) @@ -76,7 +76,7 @@ */ private String inputASName; - private boolean debug = false; + private boolean debug = true; /** * Should be called to execute this PR on a document. @@ -172,9 +172,9 @@ // try and make sure any annotations created in the segment will have // IDs that are valid in the original document - if(oldDoc instanceof DocumentImpl) { + if(document instanceof DocumentImpl) { ((CompositeDocumentImpl)compositeDoc) - .setNextAnnotationId(((DocumentImpl)oldDoc) + .setNextAnnotationId(((DocumentImpl)document) .peakAtNextAnnotationId()); } @@ -186,6 +186,7 @@ } catch(CombiningMethodException e) { throw new ExecutionException(e); } finally { + // finally get rid of the composite document compoundDoc.removeDocument(nameForCompositeDoc); if(compositeDoc != null) { Modified: gate/trunk/src/main/gate/annotation/AnnotationSetImpl.java =================================================================== --- gate/trunk/src/main/gate/annotation/AnnotationSetImpl.java 2015-05-21 01:20:06 UTC (rev 18696) +++ gate/trunk/src/main/gate/annotation/AnnotationSetImpl.java 2015-05-21 10:42:00 UTC (rev 18697) @@ -921,7 +921,7 @@ //try to ensure that if someone adds an annotation directly by ID //the other methods don't trample all over it later - if (id > doc.peakAtNextAnnotationId()) { + if (id >= doc.peakAtNextAnnotationId()) { doc.setNextAnnotationId(id+1); } } // add(id, start, end, type, features) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2015-08-05 05:18:11
|
Revision: 18853 http://sourceforge.net/p/gate/code/18853 Author: markagreenwood Date: 2015-08-05 05:18:08 +0000 (Wed, 05 Aug 2015) Log Message: ----------- undid some changes I didn't mean to commit Modified Paths: -------------- gate/trunk/gate.l4j.ini gate/trunk/plugins/Format_CSV/gcp/sample/batch.xml gate/trunk/plugins/Tagger_Measurements/.classpath gate/trunk/plugins/Tagger_Measurements/src/gate/creole/measurements/Measurement.java gate/trunk/plugins/Tagger_Measurements/src/gate/creole/measurements/MeasurementsParser.java Modified: gate/trunk/gate.l4j.ini =================================================================== --- gate/trunk/gate.l4j.ini 2015-08-05 05:10:24 UTC (rev 18852) +++ gate/trunk/gate.l4j.ini 2015-08-05 05:18:08 UTC (rev 18853) @@ -1,2 +1,2 @@ --Xmx8G +-Xmx1G -Xms200m Modified: gate/trunk/plugins/Format_CSV/gcp/sample/batch.xml =================================================================== --- gate/trunk/plugins/Format_CSV/gcp/sample/batch.xml 2015-08-05 05:10:24 UTC (rev 18852) +++ gate/trunk/plugins/Format_CSV/gcp/sample/batch.xml 2015-08-05 05:18:08 UTC (rev 18853) @@ -6,11 +6,11 @@ <report file="report.xml" /> <input class="gate.cloud.io.csv.CSVStreamingInputHandler" - srcFile="tweets.csv" + srcFile="input.csv" encoding="UTF-8" separator="," quote='"' - column="11" + column="1" labelledColumns="true" /> <output @@ -18,4 +18,4 @@ encoding="UTF-8" fileExtension=".GATE.xml" class="gate.cloud.io.file.GATEStandOffFileOutputHandler" /> -</batch> \ No newline at end of file +</batch> Modified: gate/trunk/plugins/Tagger_Measurements/.classpath =================================================================== --- gate/trunk/plugins/Tagger_Measurements/.classpath 2015-08-05 05:10:24 UTC (rev 18852) +++ gate/trunk/plugins/Tagger_Measurements/.classpath 2015-08-05 05:18:08 UTC (rev 18853) @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path="src"/> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/> <classpathentry combineaccessrules="false" exported="true" kind="src" path="/GATE"/> <classpathentry kind="output" path="classes"/> </classpath> Modified: gate/trunk/plugins/Tagger_Measurements/src/gate/creole/measurements/Measurement.java =================================================================== --- gate/trunk/plugins/Tagger_Measurements/src/gate/creole/measurements/Measurement.java 2015-08-05 05:10:24 UTC (rev 18852) +++ gate/trunk/plugins/Tagger_Measurements/src/gate/creole/measurements/Measurement.java 2015-08-05 05:18:08 UTC (rev 18853) @@ -160,8 +160,6 @@ Parser psr = new Parser(lex, parser); - System.out.println("created parser"); - // this may thrown an exception because of the space change. // i.e. it throws an exception when it parses 100 m m as the last m is a // unit but wasn't expected whilst it parses 10 m blah OK and returns 100 m @@ -170,8 +168,6 @@ // clever if somewhere in the parser or lexer to handle this Parser.Symbol result = psr.unitexpr(); - System.out.println("got result"); - if(result == null) throw new Parser.Exception("string '" + s + "' is not a unit"); @@ -263,12 +259,9 @@ MeasurementsParser parser) { try { Measurement v = parse(unit, index, parser); - System.out.println("parsed"); v.factor = amount; v.completereduce(); - System.out.println("done reduce"); DefinedFunction func = parser.functions.get(v.getNormalizedUnit()); - System.out.println("got func"); if(func != null) { Measurement fv = new Measurement(parser); fv.factor = amount; @@ -552,10 +545,7 @@ boolean botchanged = reduceproduct(true); if(!topchanged && !botchanged) break; } - - System.out.println("out of loop"); cancel(); - System.out.println("about to return"); } /** Modified: gate/trunk/plugins/Tagger_Measurements/src/gate/creole/measurements/MeasurementsParser.java =================================================================== --- gate/trunk/plugins/Tagger_Measurements/src/gate/creole/measurements/MeasurementsParser.java 2015-08-05 05:10:24 UTC (rev 18852) +++ gate/trunk/plugins/Tagger_Measurements/src/gate/creole/measurements/MeasurementsParser.java 2015-08-05 05:18:08 UTC (rev 18853) @@ -481,8 +481,8 @@ } public static void main(String args[]) throws MalformedURLException, IOException { - MeasurementsParser parser = new MeasurementsParser((new File("resources/units.dat")).toURI().toURL(), (new File("resources/common_words.txt")).toURI().toURL()); - Measurement m = parser.parse(20, "GB //"); + MeasurementsParser parser = new MeasurementsParser((new File("plugins/Tagger_Measurements/resources/units.dat")).toURI().toURL(), (new File("plugins/Tagger_Measurements/resources/common_words.txt")).toURI().toURL()); + Measurement m = parser.parse(20, "mg p"); System.out.println(m.getParsedText()); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2016-12-13 15:13:21
|
Revision: 19858 http://sourceforge.net/p/gate/code/19858 Author: ian_roberts Date: 2016-12-13 15:13:19 +0000 (Tue, 13 Dec 2016) Log Message: ----------- Regenerated gate.exe with latest launch4j, due to https://sourceforge.net/p/launch4j/bugs/146/ (launch4j was considering 1.8.0_99 to be newer than 1.8.0_100) Modified Paths: -------------- gate/trunk/build/deploy/launch4j-gate.xml gate/trunk/gate.exe Modified: gate/trunk/build/deploy/launch4j-gate.xml =================================================================== --- gate/trunk/build/deploy/launch4j-gate.xml 2016-12-13 02:23:31 UTC (rev 19857) +++ gate/trunk/build/deploy/launch4j-gate.xml 2016-12-13 15:13:19 UTC (rev 19858) @@ -13,7 +13,7 @@ <stayAlive>false</stayAlive> <icon>gate-icon.ico</icon> <jre> - <minVersion>1.6.0</minVersion> + <minVersion>1.7.0</minVersion> <!-- prefer JDK but accept JRE if newer --> <jdkPreference>preferJdk</jdkPreference> <initialHeapSize>0</initialHeapSize> @@ -28,6 +28,6 @@ <startupErr>An error occurred while starting the installer.</startupErr> <bundledJreErr>This application was configured to use a bundled Java Runtime Environment but the runtime is missing or corrupted.</bundledJreErr> <jreVersionErr>GATE requires a Java Runtime Environment, and works best with a JDK. Click OK to download one - minimum version</jreVersionErr> - <launcherErr>The registry refers to a nonexistent Java Runtime Environment installation or the runtime is corrupted. Please ensure you have a valid installation of Java 6.0 or later.</launcherErr> + <launcherErr>The registry refers to a nonexistent Java Runtime Environment installation or the runtime is corrupted. Please ensure you have a valid installation of Java 7.0 or later.</launcherErr> </messages> </launch4jConfig> Modified: gate/trunk/gate.exe =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <es...@us...> - 2008-09-16 00:21:50
|
Revision: 9888 http://gate.svn.sourceforge.net/gate/?rev=9888&view=rev Author: esword Date: 2008-09-16 00:21:58 +0000 (Tue, 16 Sep 2008) Log Message: ----------- Four intertwined enhancements: 1) Enhanced Jape language to handle annotation "meta-property" accessors - You can now access "meta-properties" of annotations in addition to features. This is done by using an "@" symbol rather than a "." symbol after the annotation type name. Built in accessors are length, string, and cleanString. 2) Enhanced Jape language to handle custom boolean operators. In addition to the standard ==, <, >, etc, two new built in operators are contains and within. For either operator, the right-hand value (Y in the above examples) can be a full constraint itself. 3) Added optional init-time parameters to Transducer so that additional "meta-property" accessors and custom operators can be added at runtime. 4) Added new "getCovering" method to AnnotationSet. This method returns annotations that completely span the provided range. Modified Paths: -------------- gate/trunk/plugins/ANNIE/creole.xml gate/trunk/src/gate/AnnotationSet.java gate/trunk/src/gate/annotation/AnnotationSetImpl.java gate/trunk/src/gate/annotation/TestAnnotation.java gate/trunk/src/gate/creole/TestPR.java gate/trunk/src/gate/creole/Transducer.java gate/trunk/src/gate/jape/BaseJapeTests.java gate/trunk/src/gate/jape/TestConstraints.java gate/trunk/src/gate/jape/constraint/AbstractConstraintPredicate.java gate/trunk/src/gate/jape/constraint/ConstraintFactory.java gate/trunk/src/gate/jape/parser/ParseCpsl.jj Added Paths: ----------- gate/trunk/lib/commons-lang-2.4.jar gate/trunk/src/gate/jape/constraint/CleanStringAccessor.java gate/trunk/src/gate/jape/constraint/ContainsPredicate.java gate/trunk/src/gate/jape/constraint/EmbeddedConstraintPredicate.java gate/trunk/src/gate/jape/constraint/LengthAccessor.java gate/trunk/src/gate/jape/constraint/MetaPropertyAccessor.java gate/trunk/src/gate/jape/constraint/SimpleAnnotationAccessor.java gate/trunk/src/gate/jape/constraint/StringAccessor.java gate/trunk/src/gate/jape/constraint/WithinPredicate.java gate/trunk/src/gate/jape/parser/ParseCpsl.html gate/trunk/src/gate/jape/parser/ParseCpsl.java gate/trunk/src/gate/jape/parser/ParseCpslConstants.java gate/trunk/src/gate/jape/parser/ParseCpslPlain.html gate/trunk/src/gate/jape/parser/ParseCpslTokenManager.java gate/trunk/src/gate/resources/jape/operators/custom_predicates_tests.jape gate/trunk/src/gate/resources/jape/operators/meta_property_tests.jape Removed Paths: ------------- gate/trunk/src/gate/jape/parser/ParseCpsl.html gate/trunk/src/gate/jape/parser/ParseCpsl.java gate/trunk/src/gate/jape/parser/ParseCpslConstants.java gate/trunk/src/gate/jape/parser/ParseCpslPlain.html gate/trunk/src/gate/jape/parser/ParseCpslTokenManager.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2008-10-30 14:21:35
|
Revision: 9976 http://gate.svn.sourceforge.net/gate/?rev=9976&view=rev Author: ian_roberts Date: 2008-10-30 14:21:33 +0000 (Thu, 30 Oct 2008) Log Message: ----------- Ant target to rebuild the plugins.html page, using information from the creole.xml files and @CreoleResource annotations. This uses the ExpandCreoleXmls task to write the augmented creole.xml files to a temporary directory, which plugins-info-to-HTML.pl then processes. Modified Paths: -------------- gate/trunk/bin/plugins-info-to-HTML.pl gate/trunk/build.xml Property Changed: ---------------- gate/trunk/build/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <va...@us...> - 2008-12-16 12:47:29
|
Revision: 10085 http://gate.svn.sourceforge.net/gate/?rev=10085&view=rev Author: valyt Date: 2008-12-16 12:47:08 +0000 (Tue, 16 Dec 2008) Log Message: ----------- 1) Optimisations for JAPE: - use LinkedLists wherever possible - simplified some implementation details - moved some debugger-related code inside a Debugger-started test 2) Jape Debugger: - removed enable JapeDebugger flag (it was always true, so it was doing nothing). Modified Paths: -------------- gate/trunk/.externalToolBuilders/GATE Main GUI.launch gate/trunk/src/gate/Gate.java gate/trunk/src/gate/Main.java gate/trunk/src/gate/fsm/FSM.java gate/trunk/src/gate/gui/MainFrame.java gate/trunk/src/gate/jape/Constraint.java gate/trunk/src/gate/jape/SinglePhaseTransducer.java gate/trunk/src/gate/util/SimpleSortedSet.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ada...@us...> - 2009-01-13 11:19:52
|
Revision: 10127 http://gate.svn.sourceforge.net/gate/?rev=10127&view=rev Author: adamfunk Date: 2009-01-13 11:19:33 +0000 (Tue, 13 Jan 2009) Log Message: ----------- Added an external plugin (for Diana); fiddled with the plugins.html generator to get it to work with newer Perl. Modified Paths: -------------- gate/trunk/bin/plugins-info-to-HTML.pl gate/trunk/doc/external-plugins.html gate/trunk/doc/plugins.html Added Paths: ----------- gate/trunk/bin/plugins-info-to-HTML.sh This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2009-02-10 14:22:06
|
Revision: 10183 http://gate.svn.sourceforge.net/gate/?rev=10183&view=rev Author: ian_roberts Date: 2009-02-10 14:21:45 +0000 (Tue, 10 Feb 2009) Log Message: ----------- Added an Ant task to take an XML saved application state and create a copy of it where all the relative URL paths it contains are rewritten to point to directories under the location of the copy. The files referred to by these relative paths are copied into their new locations, so you can zip up the whole directory structure starting at the target location to produce a self-contained copy of the application, suitable for passing to other users or deploying to GATE Teamware. Modified Paths: -------------- gate/trunk/.classpath gate/trunk/build.xml Added Paths: ----------- gate/trunk/lib/jaxen-1.1.jar gate/trunk/src/gate/util/ant/antlib.xml gate/trunk/src/gate/util/ant/packager/ gate/trunk/src/gate/util/ant/packager/GappModel.java gate/trunk/src/gate/util/ant/packager/GazetteerLists.java gate/trunk/src/gate/util/ant/packager/PackageGappTask.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2009-02-10 18:33:13
|
Revision: 10184 http://gate.svn.sourceforge.net/gate/?rev=10184&view=rev Author: ian_roberts Date: 2009-02-10 18:33:11 +0000 (Tue, 10 Feb 2009) Log Message: ----------- Upgraded GATE bundled Ant to version 1.7, for compatibility with new Ant tasks committed earlier today. Modified Paths: -------------- gate/trunk/bin/ant.cmd gate/trunk/bin/antRun gate/trunk/bin/antRun.bat gate/trunk/bin/envset.cmd gate/trunk/bin/real-ant gate/trunk/bin/real-ant.bat gate/trunk/bin/runrc.cmd gate/trunk/lib/ant-junit.jar gate/trunk/lib/ant-launcher.jar gate/trunk/lib/ant-nodeps.jar gate/trunk/lib/ant.jar This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2009-02-18 16:20:11
|
Revision: 10201 http://gate.svn.sourceforge.net/gate/?rev=10201&view=rev Author: ian_roberts Date: 2009-02-18 16:19:51 +0000 (Wed, 18 Feb 2009) Log Message: ----------- Fix up antlib and include in gate.jar. Modified Paths: -------------- gate/trunk/build.xml gate/trunk/src/gate/util/ant/antlib.xml This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <tho...@us...> - 2009-03-20 16:11:04
|
Revision: 10280 http://gate.svn.sourceforge.net/gate/?rev=10280&view=rev Author: thomas_heitz Date: 2009-03-20 16:10:59 +0000 (Fri, 20 Mar 2009) Log Message: ----------- ANNIE plugin is no more loaded by default when GATE is started with no plugins to load. ANNIE is now loaded from a GATE application file located in the ANNIE plugin directory. Modified Paths: -------------- gate/trunk/src/gate/Gate.java gate/trunk/src/gate/creole/ANNIEConstants.java gate/trunk/src/gate/gui/MainFrame.java gate/trunk/src/gate/xml/TestXml.java Added Paths: ----------- gate/trunk/plugins/ANNIE/ANNIE_with_defaults.gapp This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2009-03-25 11:13:13
|
Revision: 10304 http://gate.svn.sourceforge.net/gate/?rev=10304&view=rev Author: ian_roberts Date: 2009-03-25 11:13:06 +0000 (Wed, 25 Mar 2009) Log Message: ----------- http://gate.ac.uk/cgi-bin/userguide -> http://gate.ac.uk/userguide Modified Paths: -------------- gate/trunk/plugins/ANNIE/creole.xml gate/trunk/plugins/Chemistry_Tagger/creole.xml gate/trunk/plugins/Information_Retrieval/creole.xml gate/trunk/plugins/Jape_Compiler/creole.xml gate/trunk/plugins/Kea/creole.xml gate/trunk/plugins/Machine_Learning/creole.xml gate/trunk/plugins/Minipar/creole.xml gate/trunk/plugins/Minorthird/creole.xml gate/trunk/plugins/Montreal_Transducer/creole.xml gate/trunk/plugins/NLG_Tools/creole.xml gate/trunk/plugins/NP_Chunking/creole.xml gate/trunk/plugins/Ontology_Based_Gazetteer/creole.xml gate/trunk/plugins/Ontology_Tools/creole.xml gate/trunk/plugins/SUPPLE/creole.xml gate/trunk/plugins/Schema_Annotation_Editor/creole.xml gate/trunk/plugins/Stanford/src/gate/stanford/Parser.java gate/trunk/plugins/Stemmer/creole.xml gate/trunk/plugins/Tools/creole.xml gate/trunk/plugins/TreeTagger/src/gate/treetagger/TreeTagger.java gate/trunk/plugins/WordNet/creole.xml gate/trunk/plugins/alignment/creole.xml gate/trunk/plugins/annotationMerging/creole.xml gate/trunk/plugins/bdmComputation/creole.xml gate/trunk/plugins/crawl/creole.xml gate/trunk/plugins/google/creole.xml gate/trunk/plugins/iaaPlugin/creole.xml gate/trunk/plugins/learning/creole.xml gate/trunk/plugins/rasp/creole.xml gate/trunk/plugins/uima/creole.xml gate/trunk/plugins/yahoo/creole.xml gate/trunk/src/gate/CookBook.java gate/trunk/src/gate/Main.java gate/trunk/src/gate/corpora/CorpusImpl.java gate/trunk/src/gate/corpora/DocumentImpl.java gate/trunk/src/gate/creole/ConditionalSerialAnalyserController.java gate/trunk/src/gate/creole/ConditionalSerialController.java gate/trunk/src/gate/creole/RealtimeCorpusController.java gate/trunk/src/gate/creole/SerialAnalyserController.java gate/trunk/src/gate/creole/SerialController.java gate/trunk/src/gate/creole/metadata/CreoleParameter.java gate/trunk/src/gate/creole/metadata/package-info.java gate/trunk/src/gate/gui/AnnotationDiffGUI.java gate/trunk/src/gate/gui/BootStrapDialog.java gate/trunk/src/gate/gui/LuceneDataStoreSearchGUI.java gate/trunk/src/gate/gui/MainFrame.java gate/trunk/src/gate/gui/PluginManagerUI.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2009-03-25 11:20:20
|
Revision: 10305 http://gate.svn.sourceforge.net/gate/?rev=10305&view=rev Author: ian_roberts Date: 2009-03-25 11:20:13 +0000 (Wed, 25 Mar 2009) Log Message: ----------- Regenerated plugins.html with the new help links. Also modified script to generate the list of plugins in case-insensitive alphabetical order (previously it was case-sensitive, so listed all the plugins starting with a capital letter, followed by all the plugins starting with lower case). Modified Paths: -------------- gate/trunk/bin/plugins-info-to-HTML.pl gate/trunk/doc/plugins.html This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2009-04-24 23:23:10
|
Revision: 10380 http://gate.svn.sourceforge.net/gate/?rev=10380&view=rev Author: ian_roberts Date: 2009-04-24 23:23:05 +0000 (Fri, 24 Apr 2009) Log Message: ----------- Added a magic parameter to plugins-info-to-HTML.pl to prevent it being run directly rather than through ant. Modified Paths: -------------- gate/trunk/bin/plugins-info-to-HTML.pl gate/trunk/build.xml Removed Paths: ------------- gate/trunk/bin/plugins-info-to-HTML.sh This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2009-05-29 12:57:26
|
Revision: 10520 http://gate.svn.sourceforge.net/gate/?rev=10520&view=rev Author: ian_roberts Date: 2009-05-29 12:57:18 +0000 (Fri, 29 May 2009) Log Message: ----------- 5.0 released, bump version to 5.1-snapshot. Modified Paths: -------------- gate/trunk/build/version.txt gate/trunk/doc/index.html Property Changed: ---------------- gate/trunk/doc/index.html This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <tho...@us...> - 2009-07-14 17:41:07
|
Revision: 10616 http://gate.svn.sourceforge.net/gate/?rev=10616&view=rev Author: thomas_heitz Date: 2009-07-14 17:41:06 +0000 (Tue, 14 Jul 2009) Log Message: ----------- Specify types for two methods: public Map<String, AnnotationSet> getNamedAnnotationSets() public Set<String> getAnnotationSetNames() Modified Paths: -------------- gate/trunk/plugins/alignment/src/gate/compound/impl/AbstractCompoundDocument.java gate/trunk/src/gate/Document.java gate/trunk/src/gate/SimpleDocument.java gate/trunk/src/gate/corpora/DatabaseDocumentImpl.java gate/trunk/src/gate/corpora/DocumentImpl.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2009-07-20 14:20:44
|
Revision: 10631 http://gate.svn.sourceforge.net/gate/?rev=10631&view=rev Author: markagreenwood Date: 2009-07-20 14:20:38 +0000 (Mon, 20 Jul 2009) Log Message: ----------- moved the ProcessManager into gate.util so it can be used by all plugins rather than being hidden in SUPPLE Modified Paths: -------------- gate/trunk/plugins/SUPPLE/prolog-impls/sicstus/src/shef/nlp/supple/prolog/AbstractSICStusProlog.java gate/trunk/plugins/SUPPLE/prolog-impls/swi/src/shef/nlp/supple/prolog/SWIProlog.java Added Paths: ----------- gate/trunk/src/gate/util/ProcessManager.java Removed Paths: ------------- gate/trunk/plugins/SUPPLE/src/shef/nlp/supple/utils/ProcessManager.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ian...@us...> - 2009-07-22 10:33:56
|
Revision: 10673 http://gate.svn.sourceforge.net/gate/?rev=10673&view=rev Author: ian_roberts Date: 2009-07-22 10:33:55 +0000 (Wed, 22 Jul 2009) Log Message: ----------- Added cruise target that runs the tests with XML output and then generates test reports. Modified Paths: -------------- gate/trunk/build.xml Added Paths: ----------- gate/trunk/lib/ant-trax.jar This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hcu...@us...> - 2009-08-12 09:24:55
|
Revision: 10928 http://gate.svn.sourceforge.net/gate/?rev=10928&view=rev Author: hcunningham Date: 2009-08-12 09:24:48 +0000 (Wed, 12 Aug 2009) Log Message: ----------- updated the 3rd-party library links Modified Paths: -------------- gate/trunk/doc/index.html gate/trunk/lib/index.html This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <tho...@us...> - 2009-08-12 16:10:48
|
Revision: 10943 http://gate.svn.sourceforge.net/gate/?rev=10943&view=rev Author: thomas_heitz Date: 2009-08-12 16:10:39 +0000 (Wed, 12 Aug 2009) Log Message: ----------- Javadoc. Modified Paths: -------------- gate/trunk/plugins/alignment/src/gate/compound/impl/AbstractCompoundDocument.java gate/trunk/src/gate/SimpleDocument.java gate/trunk/src/gate/corpora/DocumentImpl.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hcu...@us...> - 2009-08-26 12:24:32
|
Revision: 11159 http://gate.svn.sourceforge.net/gate/?rev=11159&view=rev Author: hcunningham Date: 2009-08-26 12:24:22 +0000 (Wed, 26 Aug 2009) Log Message: ----------- added isInitialised to Gate (will be true when init() has previously run successfully) Modified Paths: -------------- gate/trunk/lib/index.html gate/trunk/src/gate/Gate.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |