Skip to content

TypeError: 'ArabertPreprocessor' object is not callable #188

Answered by WissamAntoun
kareemamrr asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, yes because that sentence in particular doesn't require any changes. Try

جامِعَةُ سَلْجُوق تَدَرِّسُ مَوقع الجزيرة لتعلم العربية(https://learning.aljazeera.net/ar/node/19482)

The output should be:

جامعة سلجوق تدرس موقع الجزيرة لتعلم العربية ( [رابط] )

I also noticed that you are cloning the repository then importing it should be easier to just pip install arabert then from arabert import ArabertPreprocessor

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@kareemamrr
Comment options

@WissamAntoun
Comment options

Answer selected by kareemamrr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants