Logios
From Olympus
Logios is a language compilation suite for dialog systems. It is part of the Sphinx repository, and it has special facilities for building knowledge bases for Phoenix and Sphinx. Logios is specifically designed to allow the generation of knowledge bases from a grammar definition, as opposed to a corpus of sentences or transcriptions. To do the latter you should use the lmtool service.
Contents |
Getting Logios
Logios comes as part of the Olympus distribution. The current version of Logios can also be downloaded from Sourceforge.
What Logios Does
Logios takes as input:
- an extended phoenix grammar file
- (optional) class files
- (optional) a hand pronunciation file
And produces as output:
- a dictionary file for the asr
- a statistical language model file for the asr
- control and probdef files for asr token classes
- a compiled grammar file for the phoenix parser
- a forms file for the phoenix parser
Using Logios
Logios can be configured to make use of Olympus file structure (specifically the Resources/ tree) so that generated files end up in the right folders and can used directly by Olympus.
Logios Extensions to the Phoenix Grammar
Logios extends the Phoenix grammar representation to support the definition of class-based grammars and to coordinate these with language models. You can specify extenal class files using
%[CLASSNAME]%
where CLASSNAME implies a CLASSNAME.class file in the GRAMMAR folder. .class files should have class items in parentheses, one to a line. You should have whitespace (say a tab) to start each line. For example:
(firstitem) (second item)
You can also specify an item probability:
(third_item) #%%0.25%%
Note that all class entries will be tokenized, e.g.:
(second item) --> (second_item)
This makes entries conform to a constraint in the Sphinx decoder (which only handles a single lexical item as a class token).

