Class Polly
- java.lang.Object
-
- io.outofprintmagazine.corpus.batch.CorpusBatchStep
-
- io.outofprintmagazine.corpus.batch.impl.Polly
-
- All Implemented Interfaces:
ICorpusBatchStep
public class Polly extends CorpusBatchStep implements ICorpusBatchStep
-
-
Field Summary
-
Fields inherited from class io.outofprintmagazine.corpus.batch.CorpusBatchStep
dictionaryPOS
-
-
Constructor Summary
Constructors Constructor Description Polly()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.node.ArrayNode
run(com.fasterxml.jackson.databind.node.ArrayNode input)
com.fasterxml.jackson.databind.node.ArrayNode
runOne(com.fasterxml.jackson.databind.node.ObjectNode input)
-
Methods inherited from class io.outofprintmagazine.corpus.batch.CorpusBatchStep
copyInputToOutput, copyInputToOutput, getAuthor, getAuthor, getData, getDate, getDate, getDateFormat, getDefaultProperties, getDocID, getExtensionFromMimeType, getJsonNodeFromStorage, getJsonNodeFromStorage, getJsoupDocumentFromStorage, getJsoupDocumentFromStorageNormalized, getLink, getMapper, getMimeTypeFromExtension, getOutputScratchFilePath, getOutputScratchFilePath, getOutputScratchFilePathFromInput, getParameterStore, getStorage, getStorageLink, getText, getText, getTextDocumentFromStorage, getTextDocumentFromStorage, getTextWithSelector, getThumbnail, getTitle, getTitle, isDictionaryWord, setAuthor, setAuthor, setData, setDate, setDate, setDate, setDocID, setLink, setParameterStore, setStorage, setStorageLink, setThumbnail, setThumbnail, setTitle, setTitle
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.outofprintmagazine.corpus.batch.ICorpusBatchStep
getData, getDefaultProperties, setData, setParameterStore, setStorage
-
-
-
-
Constructor Detail
-
Polly
public Polly() throws IOException
- Throws:
IOException
-
-
Method Detail
-
run
public com.fasterxml.jackson.databind.node.ArrayNode run(com.fasterxml.jackson.databind.node.ArrayNode input)
- Specified by:
run
in interfaceICorpusBatchStep
- Overrides:
run
in classCorpusBatchStep
-
runOne
public com.fasterxml.jackson.databind.node.ArrayNode runOne(com.fasterxml.jackson.databind.node.ObjectNode input) throws Exception
- Specified by:
runOne
in interfaceICorpusBatchStep
- Specified by:
runOne
in classCorpusBatchStep
- Throws:
Exception
-
-