Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
liderman committed Mar 9, 2016
1 parent f9ca503 commit 4508088
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,22 @@ Installation

Usage
-----------
Getting base word:
```go
wordBase := rustemmer.GetWordBase("вазы")
// wordBase = "ваз"
```

Normalization of the text:
```go
text := "г. Москва, ул. Полярная, д. 31А, стр. 1"
fmt.Print(
rustemmer.NormalizeText(text),
)
// Displays:
// г Москв ул Полярн д 31А стр 1
```

Requirements
-----------

Expand Down

0 comments on commit 4508088

Please sign in to comment.