Revision: 19517
http://sourceforge.net/p/gate/code/19517
Author: markagreenwood
Date: 2016-08-19 11:07:15 +0000 (Fri, 19 Aug 2016)
Log Message:
-----------
found the actual errors, not the warnings in the javadoc and fixed them (I hope)
Modified Paths:
--------------
gate/branches/sawdust2/plugins/ANNIE/src/main/java/gate/creole/gazetteer/GazetteerNode.java
gate/branches/sawdust2/plugins/ANNIE/src/main/java/gate/creole/orthomatcher/MatchRule8.java
gate/branches/sawdust2/plugins/ANNIE/src/main/java/gate/creole/orthomatcher/OrthoMatcher.java
gate/branches/sawdust2/plugins/ANNIE/src/main/java/gate/creole/tokeniser/SimpleTokeniser.java
gate/branches/sawdust2/plugins/ANNIE/src/main/java/gate/jape/RhsAction.java
gate/branches/sawdust2/plugins/ANNIE/src/main/java/hepple/postag/POSTagger.java
Modified:
gate/branches/sawdust2/plugins/ANNIE/src/main/java/gate/creole/gazetteer/GazetteerNode.java
===================================================================
---
gate/branches/sawdust2/plugins/ANNIE/src/main/java/gate/creole/gazetteer/GazetteerNode.java
2016-08-19 10:54:30 UTC (rev 19516)
+++
gate/branches/sawdust2/plugins/ANNIE/src/main/java/gate/creole/gazetteer/GazetteerNode.java
2016-08-19 11:07:15 UTC (rev 19517)
@@ -24,7 +24,7 @@
* <p>
* With the separator set to '\t', if a gazetteer entry looked like this:
* </p>
- * <pre>Vodaphone	type=mobile phone company</pre>
+ * <pre>Vodaphone type=mobile phone company</pre>
* <p>
* Then the GazetteerNode would consist of an entry "Vodaphone", with a
featureMap
* containing the key "type", mapped to "mobile phone company".
Modified:
gate/branches/sawdust2/plugins/ANNIE/src/main/java/gate/creole/orthomatcher/MatchRule8.java
===================================================================
---
gate/branches/sawdust2/plugins/ANNIE/src/main/java/gate/creole/orthomatcher/MatchRule8.java
2016-08-19 10:54:30 UTC (rev 19516)
+++
gate/branches/sawdust2/plugins/ANNIE/src/main/java/gate/creole/orthomatcher/MatchRule8.java
2016-08-19 11:07:15 UTC (rev 19517)
@@ -3,10 +3,10 @@
/**
* RULE #7: if one of the tokens in one of the
- * names is in the list of separators eg. "&"
+ * names is in the list of separators eg. "&"
* then check if the token before the separator
* matches the other name
- * e.g. "R.H. Macy & Co." == "Macy"
+ * e.g. "R.H. Macy & Co." == "Macy"
* Condition(s): case-sensitive match
* Applied to: organisation annotations only
*/
Modified:
gate/branches/sawdust2/plugins/ANNIE/src/main/java/gate/creole/orthomatcher/OrthoMatcher.java
===================================================================
---
gate/branches/sawdust2/plugins/ANNIE/src/main/java/gate/creole/orthomatcher/OrthoMatcher.java
2016-08-19 10:54:30 UTC (rev 19516)
+++
gate/branches/sawdust2/plugins/ANNIE/src/main/java/gate/creole/orthomatcher/OrthoMatcher.java
2016-08-19 11:07:15 UTC (rev 19517)
@@ -185,9 +185,6 @@
/** to be initialized in init() */
private AnnotationOrthography orthoAnnotation;
- /** @link dependency */
- /*#OrthoMatcher lnkOrthoMatcher;*/
-
public OrthoMatcher () {
annotationTypes.add(organizationType);
annotationTypes.add(personType);
Modified:
gate/branches/sawdust2/plugins/ANNIE/src/main/java/gate/creole/tokeniser/SimpleTokeniser.java
===================================================================
---
gate/branches/sawdust2/plugins/ANNIE/src/main/java/gate/creole/tokeniser/SimpleTokeniser.java
2016-08-19 10:54:30 UTC (rev 19516)
+++
gate/branches/sawdust2/plugins/ANNIE/src/main/java/gate/creole/tokeniser/SimpleTokeniser.java
2016-08-19 11:07:15 UTC (rev 19517)
@@ -112,7 +112,7 @@
* representing an annotation of type "Token" having one attribute
* named "kind" with the value "upperInitial"<br>
* The entire rule willbe:<br>
- * <pre>"UPPERCASE_LETTER" "LOWERCASE_LETTER"+ > Token;kind=upperInitial;</pre>
+ * <pre>"UPPERCASE_LETTER" "LOWERCASE_LETTER"+ >
Token;kind=upperInitial;</pre>
* <br>
* The tokeniser ignores all the empty lines or the ones that start with # or
* //.
Modified:
gate/branches/sawdust2/plugins/ANNIE/src/main/java/gate/jape/RhsAction.java
===================================================================
--- gate/branches/sawdust2/plugins/ANNIE/src/main/java/gate/jape/RhsAction.java
2016-08-19 10:54:30 UTC (rev 19516)
+++ gate/branches/sawdust2/plugins/ANNIE/src/main/java/gate/jape/RhsAction.java
2016-08-19 11:07:15 UTC (rev 19517)
@@ -31,11 +31,11 @@
* Fires the RHS action for a particular LHS match.
* @param doc the document the RHS action will be run on
* @param bindings A map containing the matching results from the LHS in
- * the form label(String) -> matched annotations (AnnotationSet)
+ * the form label(String) -> matched annotations (AnnotationSet)
* @param inputAS the input annotation set
* @param outputAS the output annotation set
- * @param ontology
- * @throws JapeException
+ * @param ontology the ontology to use
+ * @throws JapeException if an error occurs
*/
public void doit(Document doc, Map<String, AnnotationSet> bindings,
AnnotationSet inputAS, AnnotationSet outputAS,
Modified:
gate/branches/sawdust2/plugins/ANNIE/src/main/java/hepple/postag/POSTagger.java
===================================================================
---
gate/branches/sawdust2/plugins/ANNIE/src/main/java/hepple/postag/POSTagger.java
2016-08-19 10:54:30 UTC (rev 19516)
+++
gate/branches/sawdust2/plugins/ANNIE/src/main/java/hepple/postag/POSTagger.java
2016-08-19 11:07:15 UTC (rev 19517)
@@ -65,7 +65,7 @@
* Input: An ascii text file in "Brill input format", i.e. one
* sentence per line, tokens separated by spaces.
*
- * Output: Same text with each token tagged, i.e. "token" -> "token/tag".
+ * Output: Same text with each token tagged, i.e. "token" -> "token/tag".
* Output is just streamed to std-output, so commonly will direct
* into some target file.
*
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs