Skip to content

Commit

Permalink
update to libstemmer_c-2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hthetiot committed Oct 25, 2023
1 parent dee3c19 commit 9b3f67d
Show file tree
Hide file tree
Showing 116 changed files with 24,923 additions and 18,214 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ snowball.stemword(
* german
* greek
* hindi
* hungarian
* indonesian
* irish
* italian
Expand All @@ -81,6 +80,9 @@ snowball.stemword(
* russian
* tamil
* turkish
* armenian
* serbian
* yiddish
* porter (not a language)

### Supported encoding third argument:
Expand Down
8 changes: 4 additions & 4 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"src/libstemmer/src_c/stem_ISO_8859_1_finnish.c",
"src/libstemmer/src_c/stem_ISO_8859_1_french.c",
"src/libstemmer/src_c/stem_ISO_8859_1_german.c",
"src/libstemmer/src_c/stem_ISO_8859_1_hungarian.c",
"src/libstemmer/src_c/stem_ISO_8859_1_indonesian.c",
"src/libstemmer/src_c/stem_ISO_8859_1_irish.c",
"src/libstemmer/src_c/stem_ISO_8859_1_italian.c",
Expand All @@ -28,7 +27,6 @@
"src/libstemmer/src_c/stem_ISO_8859_1_portuguese.c",
"src/libstemmer/src_c/stem_ISO_8859_1_spanish.c",
"src/libstemmer/src_c/stem_ISO_8859_1_swedish.c",
"src/libstemmer/src_c/stem_ISO_8859_2_hungarian.c",
"src/libstemmer/src_c/stem_ISO_8859_2_romanian.c",
"src/libstemmer/src_c/stem_KOI8_R_russian.c",
"src/libstemmer/src_c/stem_UTF_8_arabic.c",
Expand All @@ -42,7 +40,6 @@
"src/libstemmer/src_c/stem_UTF_8_german.c",
"src/libstemmer/src_c/stem_UTF_8_greek.c",
"src/libstemmer/src_c/stem_UTF_8_hindi.c",
"src/libstemmer/src_c/stem_UTF_8_hungarian.c",
"src/libstemmer/src_c/stem_UTF_8_indonesian.c",
"src/libstemmer/src_c/stem_UTF_8_irish.c",
"src/libstemmer/src_c/stem_UTF_8_italian.c",
Expand All @@ -56,7 +53,10 @@
"src/libstemmer/src_c/stem_UTF_8_spanish.c",
"src/libstemmer/src_c/stem_UTF_8_swedish.c",
"src/libstemmer/src_c/stem_UTF_8_tamil.c",
"src/libstemmer/src_c/stem_UTF_8_turkish.c"
"src/libstemmer/src_c/stem_UTF_8_turkish.c",
"src/libstemmer/src_c/stem_UTF_8_armenian.c",
"src/libstemmer/src_c/stem_UTF_8_serbian.c",
"src/libstemmer/src_c/stem_UTF_8_yiddish.c",
]
}
]
Expand Down
2 changes: 2 additions & 0 deletions src/libstemmer/COPYING
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
Copyright (c) 2001, Dr Martin Porter
Copyright (c) 2004,2005, Richard Boulton
Copyright (c) 2013, Yoshiki Shibukawa
Copyright (c) 2006,2007,2009,2010,2011,2014-2019, Olly Betts
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
8 changes: 7 additions & 1 deletion src/libstemmer/MANIFEST
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
README
README.rst
src_c/stem_ISO_8859_1_basque.c
src_c/stem_ISO_8859_1_basque.h
src_c/stem_ISO_8859_1_catalan.c
Expand Down Expand Up @@ -39,6 +39,8 @@ src_c/stem_KOI8_R_russian.c
src_c/stem_KOI8_R_russian.h
src_c/stem_UTF_8_arabic.c
src_c/stem_UTF_8_arabic.h
src_c/stem_UTF_8_armenian.c
src_c/stem_UTF_8_armenian.h
src_c/stem_UTF_8_basque.c
src_c/stem_UTF_8_basque.h
src_c/stem_UTF_8_catalan.c
Expand Down Expand Up @@ -81,6 +83,8 @@ src_c/stem_UTF_8_romanian.c
src_c/stem_UTF_8_romanian.h
src_c/stem_UTF_8_russian.c
src_c/stem_UTF_8_russian.h
src_c/stem_UTF_8_serbian.c
src_c/stem_UTF_8_serbian.h
src_c/stem_UTF_8_spanish.c
src_c/stem_UTF_8_spanish.h
src_c/stem_UTF_8_swedish.c
Expand All @@ -89,6 +93,8 @@ src_c/stem_UTF_8_tamil.c
src_c/stem_UTF_8_tamil.h
src_c/stem_UTF_8_turkish.c
src_c/stem_UTF_8_turkish.h
src_c/stem_UTF_8_yiddish.c
src_c/stem_UTF_8_yiddish.h
runtime/api.c
runtime/api.h
runtime/header.h
Expand Down
11 changes: 7 additions & 4 deletions src/libstemmer/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
include mkinc.mak
ifeq ($(OS),Windows_NT)
EXEEXT=.exe
endif
CFLAGS=-O2
CPPFLAGS=-Iinclude
all: libstemmer.o stemwords
libstemmer.o: $(snowball_sources:.c=.o)
all: libstemmer.a stemwords$(EXEEXT)
libstemmer.a: $(snowball_sources:.c=.o)
$(AR) -cru $@ $^
stemwords: examples/stemwords.o libstemmer.o
stemwords$(EXEEXT): examples/stemwords.o libstemmer.a
$(CC) $(CFLAGS) -o $@ $^
clean:
rm -f stemwords *.o src_c/*.o examples/*.o runtime/*.o libstemmer/*.o
rm -f stemwords$(EXEEXT) libstemmer.a *.o src_c/*.o examples/*.o runtime/*.o libstemmer/*.o
Loading

0 comments on commit 9b3f67d

Please sign in to comment.