Pynini-Teaching
Category
Other
Program On
Teaching
Version
2.0.8
Author / Distributor
Please see http://www.openfst.org/twiki/bin/view/GRM/Pynini
Description
From http://www.openfst.org/twiki/bin/view/GRM/Pynini: "OpenGrm Pynini: Finite-state grammar development in Python "
Running Program
Also refer to Running Jobs on the teaching cluster
- Version 2.0.8, for Python 3.6.4, installed in /usr/local/apps/gb/pynini/2.0.8-Python-3.6.4-foss-2018a
To use this version of pynini, please first load the module with
ml pynini/2.0.8-Python-3.6.4-foss-2018a
This module will automatically load Python/3.6.4-foss-2018a and the foss/2018a toolchain. This version of pynini uses OpenFST v. 1.7.3 installed in /usr/local/apps/gb/openfst/1.7.3-foss-2018a/
Sample job submission script (sub.sh) to run a python script (test.py) that uses pynini:
#!/bin/bash
#SBATCH --job-name=pyninijob
#SBATCH --partition=batch
#SBATCH --mail-type=ALL
#SBATCH --mail-user=username@uga.edu
#SBATCH --ntasks=1
#SBATCH --mem=1gb
#SBATCH --time=08:00:00
#SBATCH --output=pyninijob.%j.out
#SBATCH --error=pyninijob.%j.err
cd $SLURM_SUBMIT_DIR
ml pynini/2.0.8-Python-3.6.4-foss-2018a
python3 test.py
In the real submission script, at least all the above underlined values need to be reviewed or to be replaced by the proper values.
Sample job submission command:
sbatch sub.sh
Documentation
Please see http://www.openfst.org/twiki/bin/view/GRM/Pynini
Installation
Version 2.0.8 downloaded from http://www.openfst.org/twiki/bin/view/GRM/PyniniDownload on August 19, 2019.
System
64-bit Linux