Révision 2183
| tmp/org.txm.groovy.core/src/java/org/txm/groovy/core/GroovyScriptedImportEngine.java (revision 2183) | ||
|---|---|---|
| 49 | 49 |
// check if TreeTagger is ready |
| 50 | 50 |
Workspace w = Toolbox.workspace; |
| 51 | 51 |
boolean annotate = project.getAnnotate(); |
| 52 |
if (annotate) {
|
|
| 52 |
if (annotate && !project.getDoUpdate()) { // test TreeTagger only if not updating the corpus
|
|
| 53 | 53 |
Engine e = Toolbox.getEngineManager(EngineType.ANNOTATION).getEngine("TreeTagger");
|
| 54 | 54 |
if (e == null) {
|
| 55 | 55 |
Log.severe("Error: no TreeTagger annotation engine found to annotate the corpus. Aborting");
|
Formats disponibles : Unified diff