Skip to content

Commit

Permalink
Update func docs
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdullahDiaa committed Jun 11, 2021
1 parent 483d053 commit 8585fb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arabic.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ var _scaleNumbers = []string{
"", "ألف", "مليون", "مليار",
}

//RemoveHarakat ...
//RemoveHarakat will remove harakat from arabic text
func RemoveHarakat(input string) string {
input = normalizeTransform(input)
runes := bytes.Runes([]byte(input))
Expand All @@ -99,7 +99,7 @@ func RemoveHarakat(input string) string {
return string(runes)
}

//Normalize ..
//Normalize will prepare an arabic text to search and index
func Normalize(input string) string {
input = normalizeTransform(input)
runes := bytes.Runes([]byte(input))
Expand Down

0 comments on commit 8585fb1

Please sign in to comment.