Skip to content

Commit

Permalink
Remove fmt.Println debug prints.
Browse files Browse the repository at this point in the history
  • Loading branch information
divVerent committed Jun 21, 2023
1 parent 4c3eb72 commit da8941f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions garabic.go
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ func Tashkeel(input string) string {
words := strings.Fields(input)
for i, word := range words {
// يُجَرُّ الاسم إذا سُبِق بأحد حروف جرٍّ، مثل كلمة الشركة في جملة: توجّهْتُ إلى الشركةِ
fmt.Println(Normalize(word))
//fmt.Println(Normalize(word))
if contains(JarrWords, Normalize(word)) {
words[i+1] += string('\u0650')
}
Expand Down Expand Up @@ -362,11 +362,11 @@ func Shape(input string) string {
}
}
if len(continousLangLt) > 0 {
fmt.Println(continousLangLt)
//fmt.Println(continousLangLt)
langSections = append(langSections, strings.TrimSpace(continousLangLt))
}
if len(continousLangAr) > 0 {
fmt.Printf("\"%s\"\n", continousLangAr)
//fmt.Printf("\"%s\"\n", continousLangAr)
langSections = append(langSections, strings.TrimSpace(continousLangAr))
}

Expand Down

0 comments on commit da8941f

Please sign in to comment.