8000 ArangoSearch: Upgrade to Snowball 2 (additional stemmer languages) by Simran-B · Pull Request #10973 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

ArangoSearch: Upgrade to Snowball 2 (additional stemmer languages 8000 ) #10973

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Mar 18, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Snowball upstream changes since November
  • Loading branch information
Simran-B committed Jan 24, 2020
commit 04b99cf21a9ddbbd479871130f6104f114384c8b
11 changes: 4 additions & 7 deletions 3rdParty/snowball/algorithms/serbian.sbl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ routines (

externals ( stem )

integers ( p1 p2 p3 sbst )
integers ( p1 p2 p3 )

groupings ( v ca sa rg )

Expand Down Expand Up @@ -140,16 +140,13 @@ define mark_regions as (

$p1 = limit
$p2 = 0
$sbst = 0

do (
gopast 'r' setmark p2
gopast v setmark p1
)
do (
gopast v setmark p1 setmark sbst
)
try (
($p2 != 0) ($p2 < p1) ($sbst -= p2) ($sbst > 1) ($p1 = p2)
gopast 'r' setmark p2
$(p1 - p2 > 1) ($p1 = p2)
)
($p1 < 2) (
($p1 == p2 gopast 'r' gopast non-rg) or ($p1 != p2 gopast v gopast non-v)
Expand Down
2 changes: 1 addition & 1 deletion 3rdParty/snowball/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
for lang in langs:
lang_titlecase = lang.title()
# Only classifiers listed in https://pypi.org/classifiers/ are allowed
if lang_titlecase not in ('Basque', 'Irish', 'Lithuanian', 'Nepali'):
if lang_titlecase not in ('Basque', 'Irish', 'Nepali'):
classifiers.append('Natural Language :: ' + lang_titlecase)


Expand Down
0