Skip to content

Commit

Permalink
kurdish sort bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aso committed Apr 8, 2024
1 parent 191678d commit a279acb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name="asosoft",
version="0.1.2",
version="0.1.3",
description="AsoSoft's Library for Kurdish language processing tasks",
keywords='natural-language-processing, normalization, unicode-normalization, central-kurdish, kurdish, sorani',
package_dir={'': 'src'},
Expand Down
2 changes: 1 addition & 1 deletion src/asosoft/Sort.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
def kurdish_sort(inputList):
ku = list(["ئءاآأإبپتثجچحخدڎڊذرڕزژسشصضطظعغفڤقكکگڴلڵمنوۆۊۉۋهھەیێ"])
ku = list("ئءاآأإبپتثجچحخدڎڊذرڕزژسشصضطظعغفڤقكکگڴلڵمنوۆۊۉۋهھەیێ")
return CustomSort(inputList, ku)

def CustomSort(inputList, inputOrder):
Expand Down

0 comments on commit a279acb

Please sign in to comment.