File: README

package info (click to toggle)
hfst 3.16.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 14,532 kB
  • sloc: cpp: 101,875; sh: 6,717; python: 5,225; yacc: 4,985; lex: 2,900; makefile: 2,017; xml: 6
file content (17 lines) | stat: -rw-r--r-- 628 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

This folder contains tests for HFST python bindings. To perform the tests, run

  ./test.sh [--python PYTHON] [--pythonpath PYTHONPATH]

  * --python defines the python compiler used (defaults to 'python3')
  * --pythonpath inserts PYTHONPATH to sys.path before running each test

The option --pythonpath is useful if the hfst bindings are not yet installed
or there is an older installation available which python should not use.
The typical use is something like:

  ./test.sh --pythonpath path/to/hfst-top-dir/python

where path/to/hfst-top-dir/python is the parent folder of this folder, if you
are compiling from source.