EnglishFrenchSpanish

Ad


OnWorks favicon

mkbingram - Online in the Cloud

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

This is the command mkbingram 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


mkbingram
- make binary N-gram from ARPA N-gram file

SYNOPSIS


mkbingram [-nlr forward_ngram.arpa] [-nrl backward_ngram.arpa] [-d old_bingram_file]
{output_bingram_file}

DESCRIPTION


mkbingram is a tool to convert N-gram definition file(s) in ARPA standard format to a
compact Julius binary format. It will speed up the initial loading time of N-gram much
faster. It can read gzipped file directly.

From rev.4.0, Julius can deal with forward N-gram, backward N-gram and their combinations.
So, mkbingram now generates binary N-gram file from one of them, or combining them two to
produce one binary N-gram.

When only a forward N-gram is specified, mkbingram generates binary N-gram from only the
forward N-gram. When using this binary N-gram at Julius, it performs the 1st pass with the
2-gram probabilities in the N-gram, and run the 2nd pass with the given N-gram fully, with
converting forward probabilities to backward probabilities by Bayes rule.

When only a backward N-gram is specified, mkbingram generates an binary N-gram file that
contains only the backward N-gram. The 1st pass will use forward 2-gram probabilities that
can be computed from the backward 2-gram using Bayes rule, and the 2nd pass use the given
backward N-gram fully.

When both forward and backward N-grams are specified, the 2-gram part in the forward
N-gram and all backward N-gram will be combined into single bingram file. The forward
2-gram will be applied for the 1st pass and backward N-gram for the 2nd pass. Note that
both N-gram should be trained in the same corpus with same parameters (i.e. cut-off
thresholds), with same vocabulary.

The old binary N-gram produced by mkbingram of version 3.x and earlier can be used in
Julius-4, but you can convert the old version to the new version by specifying it as input
of current mkbingram by option "-d".

Please note that binary N-gram file converted by mkbingram of version 4.0 and later cannot
be read by older Julius 3.x.

OPTIONS


-nlr forward_ngram.arpa
Read in a forward (left-to-right) word N-gram file in ARPA standard format.

-nrl backward_ngram.arpa
Read in a backward (right-to-left) word N-gram file in ARPA standard format.

-d old_bingram_file
Read in a binary N-gram file.

-swap
Swap BOS word <s> and EOS word </s> in N-gram.

output_bingram_file
binary N-gram file name to output.

EXAMPLES


Convert a set of forward and backward N-gram in ARPA format into Julius binary form:
Convert a single forward 4-gram in ARPA format into a binary file:
Convert old binary N-gram file to current format:

Use mkbingram online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Shadowsocks
    Shadowsocks
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    https://sourceforge.net/projects/shadowsocksgui/.
    It ha...
    Download Shadowsocks
  • 2
    GLPI Themes
    GLPI Themes
    Download release at
    https://github.com/stdonato/glpi-modifications/
    Color themes for GLPI 0.84 and 0.85 New
    Modifications for GLPI This is an
    application that c...
    Download GLPI Themes
  • 3
    SMPlayer
    SMPlayer
    SMPlayer is a free media player for
    Windows and Linux with built-in codecs
    that can also play YouTube videos. One
    of the most interesting features of
    SMPlayer:...
    Download SMPlayer
  • 4
    AAX to MP3
    AAX to MP3
    Usage: - Install the Audible Manager
    and open a file of your account. - Sign
    in into your audible account (in the
    application). Now the program can
    convert you...
    Download AAX to MP3
  • 5
    TestLink
    TestLink
    TestLink is a web based Test Management
    tool. The application provides Test
    specification, Test plans and execution,
    Reporting, Requirements specification
    and ...
    Download TestLink
  • 6
    XDXF - XML Dictionary Exchange Format
    XDXF - XML Dictionary Exchange Format
    XDXF is a project to unite all existing
    open dictionaries and provide both users
    and developers with universal XML-based
    format, convertible from and to other ...
    Download XDXF - XML Dictionary Exchange Format
  • 7
    Transmission Remote GUI
    Transmission Remote GUI
    Transmission Remote GUI is a feature
    rich cross platform front-end to
    remotely control a Transmission
    Bit-Torrent client daemon via its RPC
    protocol. Transmissi...
    Download Transmission Remote GUI
  • More »

Linux commands

Ad