[tracker] Fixes bug #584607, Search does not work for Hungarian
- From: Martyn James Russell <mr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker] Fixes bug #584607, Search does not work for Hungarian
- Date: Mon, 21 Sep 2009 08:52:50 +0000 (UTC)
commit b60de6388c8a09070bcc266df7173cd5d661c36a
Author: Gabor Kelemen <kelemeng gnome hu>
Date: Mon Sep 21 09:28:45 2009 +0100
Fixes bug #584607, Search does not work for Hungarian
src/libstemmer/modules.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/libstemmer/modules.h b/src/libstemmer/modules.h
index 7eaf03b..dac1aee 100644
--- a/src/libstemmer/modules.h
+++ b/src/libstemmer/modules.h
@@ -27,6 +27,7 @@
#include "stem_UTF_8_finnish.h"
#include "stem_UTF_8_french.h"
#include "stem_UTF_8_german.h"
+#include "stem_UTF_8_hungarian.h"
#include "stem_UTF_8_italian.h"
#include "stem_UTF_8_norwegian.h"
#include "stem_UTF_8_porter.h"
@@ -82,6 +83,9 @@ static struct stemmer_modules modules[] = {
{"french", ENC_UTF_8, french_UTF_8_create_env, french_UTF_8_close_env, french_UTF_8_stem},
{"ger", ENC_UTF_8, german_UTF_8_create_env, german_UTF_8_close_env, german_UTF_8_stem},
{"german", ENC_UTF_8, german_UTF_8_create_env, german_UTF_8_close_env, german_UTF_8_stem},
+ {"hu", ENC_UTF_8, hungarian_UTF_8_create_env, hungarian_UTF_8_close_env, hungarian_UTF_8_stem},
+ {"hun", ENC_UTF_8, hungarian_UTF_8_create_env, hungarian_UTF_8_close_env, hungarian_UTF_8_stem},
+ {"hungarian", ENC_UTF_8, hungarian_UTF_8_create_env, hungarian_UTF_8_close_env, hungarian_UTF_8_stem},
{"it", ENC_UTF_8, italian_UTF_8_create_env, italian_UTF_8_close_env, italian_UTF_8_stem},
{"ita", ENC_UTF_8, italian_UTF_8_create_env, italian_UTF_8_close_env, italian_UTF_8_stem},
{"italian", ENC_UTF_8, italian_UTF_8_create_env, italian_UTF_8_close_env, italian_UTF_8_stem},
@@ -111,6 +115,7 @@ static const char * algorithm_names[] = {
"finnish",
"french",
"german",
+ "hungarian",
"italian",
"norwegian",
"porter",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]