===========================================================================

VERBMOBIL-Language-Model-Interface for Integration 99-II (17.5.99)

(C) Philips GmbH Forschungslaboratorien, Aachen, 1992-1999

Only VERBMOBIL partners are allowed to copy this Software for purposes of
the VERBMOBIL project.

Errors, comments to:
{peters,klakow}@pfa.research.philips.com

===========================================================================

Extended language-model-interface for Integration 99-II (24.6.99):

The command probabilities can be tuned by using the new routine
LMSetCmdWeight.

===========================================================================

Files:
------

README

lm.h      (Header-file with deklaration of the komplete interface)
lm.c      (Source-Code with implementation of the komplete interface)
perp.c    (Example for the usage of the interface)

Verbmobil.bsp*.txt  (for example)
Verbmobil.bsp*.out  (for example)

Example:
--------

'perp' allows the word-by-word scoring of a text. The parameter CmdWeight
can be optionally set after initialisation (Default = 0). All transition
probabilitiers and the total perplexity are calculated. OOV-words are
ignored and after them a new start with an unigram is made.

The folowing examples result in the output that is documented in 
Verbmobil.***.out. Verbmobil.bsp1.txt does not include commands,
Verbmobil.bsp2.txt includes commando phrases. To adjust their
probabilities CmdWeight is set to 0.1 in the third example.
(last perp-argument).

cat Verbmobil.bsp1.txt |\
perp VMII-2.2.2.M3.lm VMII-2.2.2.lm.wl VMII-2.2.2.lm.map VMII-2.2.2.lm.cs

--> Verbmobil.bsp1.out

cat Verbmobil.bsp2.txt |\
perp VMII-2.2.2.M3.lm VMII-2.2.2.lm.wl VMII-2.2.2.lm.map VMII-2.2.2.lm.cs

--> Verbmobil.bsp2.out

cat Verbmobil.bsp2.txt |\
perp VMII-2.2.2.M3.lm VMII-2.2.2.lm.wl VMII-2.2.2.lm.map VMII-2.2.2.lm.cs 0.1

--> Verbmobil.bsp3.out

The files Verbmobil.bsp*.txt/out are include in this package. 
The files VMII-2.2.2.*** are part of the official language model 2.2.2.

===========================================================================
