mohaned mashaly
mohaned mashaly
As far as I know, there is no direct solution for your problem in NLTK. But you can solve the problem by reversing the list that contains your leaves using...
I am not sure whether this analysis is right or not, but one can notice when reversing leaves' value while preserving their pos values outputs the correct tree. i.e: ```...
Totally agree, part of the problem is in the language itself, or right to left languages in general. I believe a quick fix might be putting an attribute called reverse...
I believe the code I sent earlier is wrong. It does reverse the values and the tags. So nothing really happens. But, I am not sure I understand your concern...
Sorry for the late reply, honestly I do not know whether this code snippet is an appropriate solution for your case or not.
I had written a full article before about Regex so I would reference and using some of the materials in this Chapter so I can help with it =:) the...
my email on slack is [email protected] if it's possible to add me on your slack group
@prabhupant I believe this is ready to be merged.