Revision: 19527
          http://sourceforge.net/p/gate/code/19527
Author:   markagreenwood
Date:     2016-08-19 18:18:21 +0000 (Fri, 19 Aug 2016)
Log Message:
-----------
fixed typo in javadoc link reference

Modified Paths:
--------------
    
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/java/gate/stanford/NER.java
    
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/java/gate/stanford/Parser.java
    
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/java/gate/stanford/StanfordSentence.java

Modified: 
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/java/gate/stanford/NER.java
===================================================================
--- 
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/java/gate/stanford/NER.java
        2016-08-19 17:01:15 UTC (rev 19526)
+++ 
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/java/gate/stanford/NER.java
        2016-08-19 18:18:21 UTC (rev 19527)
@@ -188,8 +188,8 @@
         Iterator<CoreLabel> resIter = taggerResults.iterator();
         Iterator<Annotation> tokIter = tokensInCurrentSentence.iterator();
         String previousLabel = outsideLabel;
-        Long previousEnd = new Long(-1);
-        Long entityStart = new Long(-1);
+        Long previousEnd = -1L;
+        Long entityStart = -1L;
         // No idea why this was there so lets comment it out
         // Long entityEnd = new Long(-1);
         Annotation annot;

Modified: 
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/java/gate/stanford/Parser.java
===================================================================
--- 
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/java/gate/stanford/Parser.java
     2016-08-19 17:01:15 UTC (rev 19526)
+++ 
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/java/gate/stanford/Parser.java
     2016-08-19 18:18:21 UTC (rev 19527)
@@ -735,7 +735,7 @@
 
   /**
    * Inject an existing instance of the LexicalizedParser. <b>This method is
-   * intended for use by {@link Factory#ducplicate} and should not be called
+   * intended for use by {@link Factory#duplicate} and should not be called
    * directly.</b>
    */
   @Sharable
@@ -745,7 +745,7 @@
 
   /**
    * Get the LexicalizedParser used internally by this PR. <b>This method is
-   * intended for use by {@link Factory#ducplicate} and should not be called
+   * intended for use by {@link Factory#duplicate} and should not be called
    * directly.</b>
    */
   public LexicalizedParser getStanfordParser() {

Modified: 
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/java/gate/stanford/StanfordSentence.java
===================================================================
--- 
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/java/gate/stanford/StanfordSentence.java
   2016-08-19 17:01:15 UTC (rev 19526)
+++ 
gate/branches/sawdust2/plugins/Stanford_CoreNLP/src/main/java/gate/stanford/StanfordSentence.java
   2016-08-19 18:18:21 UTC (rev 19527)
@@ -204,7 +204,7 @@
   /**
    * Convert a Stanford start position to a GATE offset.
    * 
-   * @param startPos
+   * @param startPos the Stanford start position
    * @return the offset in the GATE document
    */
   public Long startPos2offset(int startPos) {
@@ -214,7 +214,7 @@
   /**
    * Convert a Stanford end position to a GATE offset.
    * 
-   * @param endPos
+   * @param endPos the Stanford end position
    * @return the offset in the GATE document
    */
   public Long endPos2offset(int endPos) {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
_______________________________________________
GATE-cvs mailing list
GATE-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to