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

stemmer error #13

Open
nanto88 opened this issue Jul 9, 2018 · 0 comments · Fixed by RadhiFadlillah/go-sastrawi#2
Open

stemmer error #13

nanto88 opened this issue Jul 9, 2018 · 0 comments · Fixed by RadhiFadlillah/go-sastrawi#2

Comments

@nanto88
Copy link

nanto88 commented Jul 9, 2018

kata relawan jadi rawan, yg seharusnya tetap jadi kata relawan
dalam kasus ini, saya mencoba untuk menstem banyak text dari csv ke csv utk mengetahui perbedaannya seberapa banyak

with open('asdasd.csv','r', encoding='utf8') as f:
    thereader = csv.reader(f)
    with open('asdasd_stem.csv','w', newline='', encoding='utf8') as w:
        thewriter = csv.writer(w)
        for row in thereader:
            thewriter.writerow([row[0],row[1],stemmer.stem(row[1]),row[2]])

screenshot :
Image
Image2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant