Permalink
Browse files

fix doc

  • Loading branch information...
tebeka committed Apr 5, 2013
1 parent ca1afb0 commit 16e884df4e19660c5d3f61cf70d4a38c9eb1bae4
Showing with 5 additions and 4 deletions.
  1. +5 −4 snowball.go
View
@@ -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
-}

0 comments on commit 16e884d

Please sign in to comment.