Pygments Lexer Plugin for Snowball
HTML Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
sample_output
.gitignore
LICENSE
README.rst
pygments_snowball.py
setup.py

README.rst

Pygments Snowball Plugin

Pygments Lexer Plugin for Snowball, a domain-specific language for stemming words.

Note that strictly this lexer is incomplete, since it assumes stringescapes brackets are {}. Practically it will not matter considering all official Snowball codes thus far use {} brackets (or do not use the stringescapes directive).

Usage

Sample Usage:

#pip install pygments
#python setup.py install
$pygmentize -O full=True -l snowball -f html -o porter.html porter.sbl

Actually, this plugin recognizes .sbl extension, so you can write:

$pygmentize -O full=True -f html -o porter.html porter.sbl

For more information, see the official pygments documentation.

License

BSD 2-Clause License

See LICENSE

All Snowball codes under the directory ./sample_output are licensed by BSD 2-Clause License with Copyright (c) 2001, Dr Martin Porter and Copyright (c) 2002, Richard Boulton.

See ./sample_output/license.php

Authors

Hajime Senuma