File: python-stemwords

package info (click to toggle)
snowball 2.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,572 kB
  • sloc: ansic: 13,960; ada: 837; python: 560; cs: 469; pascal: 403; java: 383; javascript: 358; perl: 312; sh: 40; makefile: 15
file content (9 lines) | stat: -rwxr-xr-x 237 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
#!/bin/sh
set -eu

cp -a /usr/share/snowball/data/english/* "$AUTOPKGTEST_TMP"
cp python/stemwords.py "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"

python3 stemwords.py -i voc.txt -o test-output.txt -l english
cmp output.txt test-output.txt