Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix doc

  • Loading branch information...
commit 16e884df4e19660c5d3f61cf70d4a38c9eb1bae4 1 parent ca1afb0
@tebeka authored
Showing with 5 additions and 4 deletions.
  1. +5 −4 snowball.go
View
9 snowball.go
@@ -71,9 +71,13 @@ func (stmr *Stemmer) Stem(word string) string {
return string(buf)
}
+// LangList returns the list of languages supported by snowball
+func LangList() []string {
+ return langList
+}
+
var langList []string
-// List returns the list of languages supported by snowball
func init() {
// We don't need to free since sb_stemmer_list return pointer to static variable
cp := uintptr(unsafe.Pointer(C.sb_stemmer_list()))
@@ -89,6 +93,3 @@ func init() {
}
}
-func LangList() []string {
- return langList
-}
Please sign in to comment.
Something went wrong with that request. Please try again.