Skip to content

Commit

Permalink
Merge branch 'master' of /~https://github.com/har07/sastrawi
Browse files Browse the repository at this point in the history
merge readme
  • Loading branch information
har07 committed Jan 18, 2016
2 parents 7e21247 + 274223a commit 49805da
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Sastrawi
=========
Sastrawi Python
===============

Sastrawi is a simple Python library which allows you to reduce inflected words in Indonesian Language (Bahasa Indonesia) to their base form ([stem](http://en.wikipedia.org/wiki/Stemming)).
This is Python port of the original [Sastrawi](/~https://github.com/sastrawi/sastrawi) project written in PHP.
Sastrawi Python is a simple python library which allows you to reduce inflected words in Indonesian Language (Bahasa Indonesia) to their base form ([stem](http://en.wikipedia.org/wiki/Stemming)).
This is Python port of the original [Sastrawi](/~https://github.com/sastrawi/sastrawi) project written in PHP (credits goes to the original author and contributors of Sastrawi PHP).


[![Build Status](https://travis-ci.org/har07/sastrawi.svg?branch=master)](https://travis-ci.org/har07/sastrawi)
Expand All @@ -20,14 +20,14 @@ Penggunaan
Jalankan baris-baris kode berikut di *Python interactive terminal* :

```python
# import Sastrawi package
# import StemmerFactory class
from Sastrawi.Stemmer.StemmerFactory import StemmerFactory

# create stemmer
factory = StemmerFactory()
stemmer = factory.create_stemmer()

# stem
# stemming process
sentence = 'Perekonomian Indonesia sedang dalam pertumbuhan yang membanggakan'
output = stemmer.stem(sentence)

Expand Down

0 comments on commit 49805da

Please sign in to comment.