Hausa language stemmer (Bimba et al., 2015)
Hausa language stemmer
======================
.. image::
travis-ci.org
:target:
travis-ci.org
.. image::
coveralls.io
:target:
coveralls.io
Hausa language stemmer reference implementation by Bimba et al., 2015. Uses Hausa affix-rules and reference lookup to
stem words in Hausa language.
Paper: `Bimba, A., Idris, N., Khamis, N. and Noor, N.F.M. (2015) ‘Stemming Hausa text: Using affix-stripping rules and
reference look-up’, Language Resources and Evaluation, 50(3), pp. 687–703. doi: 10.1007/s10579-015-9311-x.
`_
Based on modifications to the implementation of the Porter's Stemming Algorithm by Vivake Gupta (2001).
Copyright (C) 2013, `Bimba Andrew Thomas `_, Department of Artificial Intelligence,
FSKTM Universiti Malaya, Kuala Lumpur, Malaysia.
Adapted as a Python module by `Linas Valiukas `_.
Usage
-----
.. code-block:: python
import hausastemmer
for term in 'Nijeriya kasa ce a nahiyar Afirka ta yamma.'.split():
print('%s => %s' % (term, hausastemmer.stem(term)))
License
-------
Copyright (C) 2013 Bimba Andrew Thomas, 2016 Linas Valiukas
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details .