Uses of Class
nzilbb.util.Switch
-
Packages that use Switch Package Description nzilbb.ag.automation.util Utility classes for helping processAnnotator
implementations.nzilbb.ag.cli Contains command line interface tools for manipulating annotation graphs from the command line.nzilbb.ag.util Utility classes for processing annotation graphs.nzilbb.converter nzilbb.util Utility classes for IO, program execution, ISO language code handling, etc.nzilbb.webapp Utility base class for supporting running presenting webapp-based user interfaces. -
-
Uses of Switch in nzilbb.ag.automation.util
Methods in nzilbb.ag.automation.util with annotations of type Switch Modifier and Type Method Description Annotate
Annotate. setAnnotator(File newAnnotator)
Setter forAnnotate.annotator
: Annotator .jar file.Transcribe
Transcribe. setConfig(String newConfig)
Setter forTranscribe.config
: Transcriber installation configuration, if any is required.Annotate
Annotate. setDebug(Boolean newDebug)
Setter forAnnotate.debug
: Whether to print debug tracing.ConfigApp
ConfigApp. setDebug(Boolean newDebug)
Setter forAnnotatorWebApp.debug
: Whether to print debug tracing.ExtApp
ExtApp. setDebug(Boolean newDebug)
Setter forAnnotatorWebApp.debug
: Whether to print debug tracing.TaskApp
TaskApp. setDebug(Boolean newDebug)
Setter forAnnotatorWebApp.debug
: Whether to print debug tracing.Info
Info. setGui(Boolean newGui)
Setter forInfo.gui
: Whether to show a graphical user interface (true) or write info to stdout (false).Annotate
Annotate. setOutputSuffix(String newOutputSuffix)
Setter forAnnotate.outputSuffix
: Suffix for adding to the file name of input transcripts in order to determine the annotated transcript file name.Annotate
Annotate. setSerialization(File newSerialization)
Setter forAnnotate.serialization
: Serialization .jar file that implements both GraphSerializer and GraphDeserializer.Annotate
Annotate. setStdout(Boolean newStdout)
Setter forAnnotate.stdout
: Write annotated output to stdout instead of to a file.Transcribe
Transcribe. setVerbose(boolean newVerbose)
Setter forTranscribe.verbose
: Print verbose output to stderrConfigApp
ConfigApp. setWorkingDir(File newWorkingDir)
Setter forAnnotatorWebApp.workingDir
: Working directory.ExtApp
ExtApp. setWorkingDir(File newWorkingDir)
Setter forAnnotatorWebApp.workingDir
: Working directory.TaskApp
TaskApp. setWorkingDir(File newWorkingDir)
Setter forAnnotatorWebApp.workingDir
: Working directory. -
Uses of Switch in nzilbb.ag.cli
Methods in nzilbb.ag.cli with annotations of type Switch Modifier and Type Method Description Deserialize
Deserialize. setDefaultOffsets(Boolean newDefaultOffsets)
Setter forDeserialize.defaultOffsets
: Whether to set null anchor offsets or not.Deserialize
Deserialize. setVerbose(Boolean newVerbose)
Setter forDeserialize.verbose
: Print verbose output.Transform
Transform. setVerbose(Boolean newVerbose)
Setter forTransform.verbose
: Print verbose output. -
Uses of Switch in nzilbb.ag.util
Methods in nzilbb.ag.util with annotations of type Switch Modifier and Type Method Description DefaultOffsetGenerator
DefaultOffsetGenerator. setConfidence(int newConfidence)
Setter forDefaultOffsetGenerator.confidence
: Value to set for confidence for anchors that have their offsets changed by this transformer.DefaultOffsetGenerator
DefaultOffsetGenerator. setDebug(Boolean newDebug)
Setter forDefaultOffsetGenerator.debug
: Whether a log of messages should be kept for reporting.Merger
Merger. setDebug(boolean newDebug)
Setter forMerger.debug
: Whether a log of messages should be kept for reporting.DefaultOffsetGenerator
DefaultOffsetGenerator. setDefaultAnchorConfidence(int newDefaultAnchorConfidence)
Setter forDefaultOffsetGenerator.defaultAnchorConfidence
: Value to assume in the case of Anchors that have no value for "confidence".Validator
Validator. setDefaultAnchorConfidence(Integer newDefaultAnchorConfidence)
Setter forValidator.defaultAnchorConfidence
: Value to assume in the case of Anchors that have no value for "confidence".DefaultOffsetGenerator
DefaultOffsetGenerator. setDefaultOffsetThreshold(int newDefaultOffsetThreshold)
Setter forDefaultOffsetGenerator.defaultOffsetThreshold
: The confidence threshold for default anchor offset computation, or null to skip default offset computation.Validator
Validator. setDefaultOffsetThreshold(Integer newDefaultOffsetThreshold)
Setter forValidator.defaultOffsetThreshold
: The confidence threshold for default anchor offset computation, or null to skip default offset computation.Merger
Merger. setEdited(File editedGraphJSONFile)
Setter forMerger.edited
: JSON file from command line.Validator
Validator. setFullValidation(boolean newFullValidation)
Setter forValidator.fullValidation
: Whether to validate all annotations on all layers (true) or perform a 'smart' validation tries to validate only parts of the graph that have actually changed (false - the default).Normalizer
Normalizer. setMaxLabelLength(Integer newMaxLabelLength)
Setter forNormalizer.maxLabelLength
: The maximum length of a label, or null if there's no limit.Validator
Validator. setMaxLabelLength(Integer newMaxLabelLength)
Setter forValidator.maxLabelLength
: Maximum allowed label length, or null for no limit.Normalizer
Normalizer. setMinimumTurnPauseLength(Double newMinimumTurnPauseLength)
Setter forNormalizer.minimumTurnPauseLength
: Minimum amount of time between two turns by the same speaker, with no intervening speaker, for which the inter-turn pause counts as a turn change boundary. -
Uses of Switch in nzilbb.converter
Methods in nzilbb.converter with annotations of type Switch Modifier and Type Method Description void
Converter. setBatchMode(Boolean newBatchMode)
Setter forConverter.batchMode
: Whether to start processing immediately (true) or wait until the user presses "Convert" (false).Converter
Converter. setHelp(Boolean newHelp)
Setter forConverter.help
: Display help info about available serialization parameters.void
Converter. setVerbose(Boolean newVerbose)
Setter forConverter.verbose
: Whether detailed verbose output is printed or not. -
Uses of Switch in nzilbb.util
Methods in nzilbb.util with annotations of type Switch Modifier and Type Method Description CommandLineProgram
CommandLineProgram. setUsage(Boolean bNewUsage)
Setter forCommandLineProgram.usage
: Whether or not to display usage informationGuiProgram
GuiProgram. setUsage(Boolean bNewUsage)
Setter forGuiProgram.usage
: Whether or not to display usage informationCommandLineProgram
CommandLineProgram. setVersion(Boolean newVersion)
Setter forCommandLineProgram.version
: Print version information.GuiProgram
GuiProgram. setVersion(Boolean newVersion)
Setter forGuiProgram.version
: Print version information. -
Uses of Switch in nzilbb.webapp
Methods in nzilbb.webapp with annotations of type Switch Modifier and Type Method Description StandAloneWebApp
StandAloneWebApp. setFinishedPath(String newFinishedPath)
Setter forStandAloneWebApp.finishedPath
: The URI path (excluding leading '/') for the request that terminates the web app.StandAloneWebApp
StandAloneWebApp. setFinishedResponse(String newFinishedResponse)
Setter forStandAloneWebApp.finishedResponse
: The HTML document to show when /StandAloneWebApp.finishedPath
is called.StandAloneWebApp
StandAloneWebApp. setPort(Integer newPort)
Setter forStandAloneWebApp.port
: Server port to listen on.StandAloneWebApp
StandAloneWebApp. setRoot(File newRoot)
Setter forStandAloneWebApp.root
: Root directory of webapp.
-