Add Greek stemmer (#486)

This commit is contained in:
Panagiotis Ktistakis
2019-02-01 07:30:49 +02:00
committed by Paul Masurel
parent 749e62c40b
commit 76609deadf
2 changed files with 3 additions and 1 deletions

View File

@@ -39,7 +39,7 @@ futures = "0.1"
futures-cpupool = "0.1"
owning_ref = "0.4"
stable_deref_trait = "1.0.0"
rust-stemmers = "1"
rust-stemmers = "1.1"
downcast-rs = { version="1.0" }
matches = "0.1"
bitpacking = "0.5"

View File

@@ -15,6 +15,7 @@ pub enum Language {
Finnish,
French,
German,
Greek,
Hungarian,
Italian,
Portuguese,
@@ -37,6 +38,7 @@ impl Language {
Finnish => Algorithm::Finnish,
French => Algorithm::French,
German => Algorithm::German,
Greek => Algorithm::Greek,
Hungarian => Algorithm::Hungarian,
Italian => Algorithm::Italian,
Portuguese => Algorithm::Portuguese,