EnglishFrenchSpanish

OnWorks favicon

jcontrol - Online in the Cloud

Run jcontrol in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command jcontrol that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


jcontrol
- a sample module client written in C

SYNOPSIS


jcontrol {hostname} [portnum]

DESCRIPTION


jcontrol is a simple console program to control julius running on other host via network
API. It can send command to Julius, and receive messages from Julius.

When invoked, jcontrol tries to connect to Julius running in "module mode" on specified
hostname. After connection established, jcontrol waits for user commands from standard
input.

When user types a command to jcontrol, it will be interpreted and cor- responding API
command will be sent to Julius. When a message is received from Julius, its content will
be output to standard output.

For the details about the API, see the related documents.

OPTIONS


hostname
Host name where Julius is runnning in module mode.

portnum
port number (default: 10500)

COMMANDS


jcontrol interprets commands from standard input. Below is a list of all commands.

Engine control
pause
Stop Julius and enter into paused status. In paused status, Julius will not run
recognition even if speech input occurs. When this command is issued while recognition
is running, Julius will stop after the recognition has been finished.

terminate
Same as pause, but discard the current speech input when received command in the middle
of recognition process.

resume
Restart Julius that has been paused or terminated.

inputparam arg
Tell Julius how to deal with speech input in case grammar is changed just when
recognition is running. Specify one: "TERMINATE", "PAUSE" or "WAIT".

version
Tell Julius to send version description string.

status
Tell Julius to send the system status (active / sleep)

Grammar handling
changegram prefix
Send a new grammar "prefix.dfa" and "prefix.dict", and tell julius to use it as a new
grammar. All the current grammars used in the current process of Julius will be deleted
and replaced to the specifed grammar.

addgram prefix
Send a new grammar "prefix.dfa" and "prefix.dict" and add it to the current grammar.

deletegram gramlist
Tell Julius to delete existing grammar. The grammar can be specified by either prefix
name or number ID. The number ID can be determined from the message sent from Julius at
each time grammar information has changed. When want to delete more than one grammar,
specify all of them as comma-sparated.

deactivategram gramlist
Tell Julius to de-activate a specified grammar. The specified grammar will still be
kept but will not be used for recognition.

The target grammar can be specified by either prefix name or number ID. The number ID
can be determined from the message sent from Julius at each time grammar information
has changed. When want to delete more than one grammar, specify all of them as
comma-sparated.

activategram gramlist
Tell Julius to activate previously de-activated grammar. The target grammar can be
specified by either prefix name or number ID. The number ID can be determined from the
message sent from Julius at each time grammar information has changed. When want to
delete more than one grammar, specify all of them as comma-sparated.

addword grammar_name_or_id dictfile
Add the recognition word entries in the specified dictfile to the specified grammar on
current process.

syncgram
Force synchronize grammar status, like unix command "sync".

Process management
Julius-4 supports multi-model recognition nad multi decoding. In this case it is possible
to control each recognition process, as defined by "-SR" option, from module client.

In multi decoding mode, the module client holds "current process", and the process
commands and grammar related commands will be issued toward the current process.

listprocess
Tell Julius to send the list of existing recognition process.

currentprocess procname
Switch the current process to the process specified by the name.

shiftprocess
Rotate the current process. At each call the current process will be changed to the
next one.

addprocess jconffile
Tell Julisu to load a new recognition process into engine. The argument jconffile
should be a jconf file that contains only one set of LM options and one SR definition.
Note that the file should be visible on the running Julius, since jcontrol only send
the path name and Julius actually read the jconf file.

The new LM and SR process will have the name of the jconffile.

delprocess procname
Delete the specified recognition process from the engine.

deactivateprocess procname
Tell Julius to temporary stop the specified recognition process. The stopped process
will not be executed for the input until activated again.

activateprocess procname
Tell Julius to activate the temporarily stopped process.

EXAMPLES


The dump messages from Julius are output to tty with prefix ">" appended to each line.
Julius can be started in module mode like this:
jcontrolcan be launched with the host name:
It will then receive the outputs of Julius and output the raw message to standard out.
Also, by inputting the commands above to the standard input of jcontrol, it will be sent
to Julius. See manuals for the specification of module mode.

Use jcontrol online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    KDiff3
    KDiff3
    This repository is no longer maintained
    and is kept for archival purposes. See
    https://invent.kde.org/sdk/kdiff3 for
    the newest code and
    https://download.kde.o...
    Download KDiff3
  • 2
    USBLoaderGX
    USBLoaderGX
    USBLoaderGX is a GUI for
    Waninkoko's USB Loader, based on
    libwiigui. It allows listing and
    launching Wii games, Gamecube games and
    homebrew on Wii and WiiU...
    Download USBLoaderGX
  • 3
    Firebird
    Firebird
    Firebird RDBMS offers ANSI SQL features
    & runs on Linux, Windows &
    several Unix platforms. Features
    excellent concurrency & performance
    & power...
    Download Firebird
  • 4
    KompoZer
    KompoZer
    KompoZer is a wysiwyg HTML editor using
    the Mozilla Composer codebase. As
    Nvu's development has been stopped
    in 2005, KompoZer fixes many bugs and
    adds a f...
    Download KompoZer
  • 5
    Free Manga Downloader
    Free Manga Downloader
    The Free Manga Downloader (FMD) is an
    open source application written in
    Object-Pascal for managing and
    downloading manga from various websites.
    This is a mirr...
    Download Free Manga Downloader
  • 6
    UNetbootin
    UNetbootin
    UNetbootin allows you to create bootable
    Live USB drives for Ubuntu, Fedora, and
    other Linux distributions without
    burning a CD. It runs on Windows, Linux,
    and ...
    Download UNetbootin
  • More »

Linux commands

  • 1
    abc2abc
    abc2abc
    abc2abc - a simple abc
    checker/re-formatter/transposer ...
    Run abc2abc
  • 2
    abc2ly
    abc2ly
    abc2ly - manual page for abc2ly
    (LilyPond) 2.18.2 ...
    Run abc2ly
  • 3
    coqdoc
    coqdoc
    coqdoc - A documentation tool for the
    Coq proof assistant ...
    Run coqdoc
  • 4
    coqide
    coqide
    coqide - The Coq Proof Assistant
    graphical interface ...
    Run coqide
  • 5
    g.gui.vdigitgrass
    g.gui.vdigitgrass
    g.gui.vdigit - Interactive editing and
    digitization of vector maps. KEYWORDS:
    general, user interface, GUI, vector,
    editing, digitizer ...
    Run g.gui.vdigitgrass
  • 6
    g.listgrass
    g.listgrass
    g.list - Lists available GRASS data
    base files of the user-specified data
    type optionally using the search
    pattern. KEYWORDS: general, map
    management, list ...
    Run g.listgrass
  • More »

Ad