Skip to content

Commit

Permalink
Stemmer (suggest-go#54)
Browse files Browse the repository at this point in the history
* RussianStemmerFilter implementation

* English stemmer implementation, add some tests
  • Loading branch information
alldroll authored Jul 28, 2020
1 parent ffde11a commit 1eb7542
Show file tree
Hide file tree
Showing 8 changed files with 2,089 additions and 0 deletions.
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ require (
github.com/gorilla/handlers v1.4.0
github.com/gorilla/mux v1.7.1
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/snowballstem/snowball v2.0.0+incompatible
github.com/spf13/cobra v0.0.3
github.com/spf13/pflag v1.0.3 // indirect
golang.org/x/sync v0.0.0-20190423024810-112230192c58
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ github.com/philhofer/fwd v1.0.0 h1:UbZqGr5Y38ApvM/V/jEljVxwocdweyH+vmYvRPBnbqQ=
github.com/philhofer/fwd v1.0.0/go.mod h1:gk3iGcWd9+svBvR0sR+KPcfE+RNWozjowpeBVG3ZVNU=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/snowballstem/snowball v2.0.0+incompatible h1:LYxZagn2jaynz3wlKcWoB0gfkh+9IJ6444zcQS478YE=
github.com/snowballstem/snowball v2.0.0+incompatible/go.mod h1:DL0Glx7rmkknCOUGQoFXkCAhjBrbffCi2A6lAKJfXXw=
github.com/spf13/cobra v0.0.3 h1:ZlrZ4XsMRm04Fr5pSFxBgfND2EBVa1nLpiy1stUsX/8=
github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ=
github.com/spf13/pflag v1.0.3 h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg=
Expand Down
Loading

0 comments on commit 1eb7542

Please sign in to comment.