uk.ac.man.entitytagger.generate
Class GenerateAutomatons.ToAutomatonProblem

java.lang.Object
  extended by uk.ac.man.entitytagger.generate.GenerateAutomatons.ToAutomatonProblem
All Implemented Interfaces:
Problem<dk.brics.automaton.Automaton>
Enclosing class:
GenerateAutomatons

private class GenerateAutomatons.ToAutomatonProblem
extends java.lang.Object
implements Problem<dk.brics.automaton.Automaton>


Field Summary
private  DictionaryEntry entry
           
private  boolean lowercase
           
 
Constructor Summary
GenerateAutomatons.ToAutomatonProblem(DictionaryEntry entry, boolean lowercase)
           
 
Method Summary
 dk.brics.automaton.Automaton compute()
          This is the method called by the master threads, and should contain the code that should be computed concurrently.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entry

private DictionaryEntry entry

lowercase

private boolean lowercase
Constructor Detail

GenerateAutomatons.ToAutomatonProblem

public GenerateAutomatons.ToAutomatonProblem(DictionaryEntry entry,
                                             boolean lowercase)
Method Detail

compute

public dk.brics.automaton.Automaton compute()
Description copied from interface: Problem
This is the method called by the master threads, and should contain the code that should be computed concurrently.

Specified by:
compute in interface Problem<dk.brics.automaton.Automaton>
Returns:
a data object representing output data from the computation that you might want to read after finished computation. If there is no such output (e.g. results are written to file), just return null.