Revision: 18835
          http://sourceforge.net/p/gate/code/18835
Author:   ian_roberts
Date:     2015-07-28 10:46:28 +0000 (Tue, 28 Jul 2015)
Log Message:
-----------
Accessor method to provide access to the underlying LanguageAnalyser from 
outside this class.

Modified Paths:
--------------
    gate/trunk/src/main/gate/util/LanguageAnalyserDocumentProcessor.java

Modified: gate/trunk/src/main/gate/util/LanguageAnalyserDocumentProcessor.java
===================================================================
--- gate/trunk/src/main/gate/util/LanguageAnalyserDocumentProcessor.java        
2015-07-28 01:20:02 UTC (rev 18834)
+++ gate/trunk/src/main/gate/util/LanguageAnalyserDocumentProcessor.java        
2015-07-28 10:46:28 UTC (rev 18835)
@@ -29,7 +29,7 @@
   /**
    * The analyser used to process documents.
    */
-  private LanguageAnalyser analyser;
+  protected LanguageAnalyser analyser;
 
   /**
    * Corpus used to contain the document being processed.
@@ -46,6 +46,10 @@
     this.analyser = a;
   }
 
+  public LanguageAnalyser getAnalyser() {
+    return analyser;
+  }
+
   @Override
   public synchronized void processDocument(Document doc) throws GateException {
     if(corpus == null) {

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

Reply via email to