I am not able to extract clean reviews

Hi, I am not able to extract the clean reviews i.e clean__x and clean__x__test from the x and the x__test given. I was able to extract the clean reviews from the imdb__xtrain. However, when doing the same with x and x__test in this video, I am getting this

[’ ', ’ ', ’ ', ’ ', ’ ', ’ ', ’ ']

I am waiting for your revert else I won’t be able to proceed further in the course

I am still waiting for your revert. Please respond faster than this. I can’t wait for this much time.

hey @A18ML0031 ,
Sorry to be so late.
Can you please share your link to code file. Need to have a look at your code to understand its functioning.
Thank You :slightly_smiling_face:.

It says here that i can’t post a link to that host. How am i supposed to share it then on the coding blocks IDE?

Why is it taking so long for you to revert? Shouldn’t you be resolving these doubts much faster than taking 2 days?

hey @A18ML0031 ,
we are really sorry to be so late , but we too are not experts in these things ,even we get stucked somewhere sometimes. So , i was working on your code only, hope will be responding you in short time about the problem.

hey @A18ML0031 ,
your error was in Regex tokenizer
it should be tokenizer = RegexpTokenizer(r'\w+')
you were using the wrong regex string.

In the .py file with the function and the list in the same file, i have used the wrong regular expression but in the NLP pipeline which i am importing for the first code, I have used the right Regex Tokenizer. I am not able to post the drive link for the files. I tried sending it before and now also. It says i can’t post a link to the host

The link to this file is working perfectly. What is the problem that you are facing in this.

I am not able to upload the drive links of the notebook files. I have corrected my error. Thanks

hey @A18ML0031 ,
if you are still stuck , then you can share your files with me at [email protected]
if your problem is resolved,
then i would request you to kindly mark this doubt as resolved and also to provide your valuable feedback as it helps us to improve this platform and provide you with better learning experience.

Thank You and Happy Learning :slightly_smiling_face:.