gate.creole.ExecutionException

No sentences or tokens to process in document GATE Document_0000C Please run a sentence splitter and tokeniser first!


Solutions on the web7

Solution icon of github
No sentences or tokens to process in document GATE Document_0000C Please run a sentence splitter and tokeniser first!

Solution icon of stackoverflow
No sentences or tokens to process in document GATE Document_0003D Please run a sentence splitter and tokeniser first!

Solution icon of stackoverflow
No sentences or tokens to process in document Password_Safe-window1.txt_0003E Please run a sentence splitter and tokeniser first!

Solution icon of stackoverflow
via Stack Overflow by Matt
, 1 year ago
Document doesn't have sentence annotations. please run tokenizer, sentence splitter and then Minipar

Solution icon of stackoverflow
Document doesn't have sentence annotations. please run tokenizer, sentence splitter and then Minipar

Solution icon of googlegroups
via Google Groups by julien nioche, 2 months ago
java.lang.Exception: There must be at least two different class values in the training corpus

Stack trace

  • gate.creole.ExecutionException: No sentences or tokens to process in document GATE Document_0000C Please run a sentence splitter and tokeniser first! at gate.creole.POSTagger.execute(POSTagger.java:257) at gate.util.Benchmark.executeWithBenchmarking(Benchmark.java:291) at gate.creole.ConditionalSerialController.runComponent(ConditionalSerialController.java:163) at gate.creole.SerialController.executeImpl(SerialController.java:157) at gate.creole.ConditionalSerialAnalyserController.executeImpl(ConditionalSerialAnalyserController.java:225) at gate.creole.ConditionalSerialAnalyserController.execute(ConditionalSerialAnalyserController.java:132) at uk.ac.kcl.service.GateService.processDoc(GateService.java:135) at uk.ac.kcl.itemProcessors.GateDocumentItemProcessor.lambda$process$0(GateDocumentItemProcessor.java:82) at java.util.HashMap.forEach(HashMap.java:1288) at uk.ac.kcl.itemProcessors.GateDocumentItemProcessor.process(GateDocumentItemProcessor.java:75) at uk.ac.kcl.itemProcessors.GateDocumentItemProcessor.process(GateDocumentItemProcessor.java:37) at org.springframework.batch.item.support.CompositeItemProcessor.processItem(CompositeItemProcessor.java:61) at org.springframework.batch.item.support.CompositeItemProcessor.process(CompositeItemProcessor.java:50) at org.springframework.batch.core.step.item.SimpleChunkProcessor.doProcess(SimpleChunkProcessor.java:126) at org.springframework.batch.core.step.item.FaultTolerantChunkProcessor$1.doWithRetry(FaultTolerantChunkProcessor.java:225) at org.springframework.retry.support.RetryTemplate.doExecute(RetryTemplate.java:263) at org.springframework.retry.support.RetryTemplate.execute(RetryTemplate.java:193) at org.springframework.batch.core.step.item.BatchRetryTemplate.execute(BatchRetryTemplate.java:217) at org.springframework.batch.core.step.item.FaultTolerantChunkProcessor.transform(FaultTolerantChunkProcessor.java:290) at org.springframework.batch.core.step.item.SimpleChunkProcessor.process(SimpleChunkProcessor.java:192) at org.springframework.batch.core.step.item.ChunkOrientedTasklet.execute(ChunkOrientedTasklet.java:75) at org.springframework.batch.core.step.tasklet.TaskletStep$ChunkTransactionCallback.doInTransaction(TaskletStep.java:406) at org.springframework.batch.core.step.tasklet.TaskletStep$ChunkTransactionCallback.doInTransaction(TaskletStep.java:330) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) at org.springframework.batch.core.step.tasklet.TaskletStep$2.doInChunkContext(TaskletStep.java:271) at org.springframework.batch.core.scope.context.StepContextRepeatCallback.doInIteration(StepContextRepeatCallback.java:81) at org.springframework.batch.repeat.support.TaskExecutorRepeatTemplate$ExecutingRunnable.run(TaskExecutorRepeatTemplate.java:262) at org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottlingRunnable.run(SimpleAsyncTaskExecutor.java:251) at java.lang.Thread.run(Thread.java:745)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago