Skip to content
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

Remove fmt.Println debug prints. #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
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
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