Skip to content

Tag: nlp

Problem to covert data from CoNLL format to spacy format

How can I covert data from CoNLL format to spacy format? I’ve executed current code following similar Q&A on stackoverflow: How to convert from CoNLL format to spacy format. CoNLL spacyformat However, I cannot fix the error. Code Error Message I’ve read the document, spacy convert, but have no…

How to save Farsi text in csv file using python?

I was trying to save my dataset in a CSV file with the following script: but the result is confusing, write some unknown chars to CSV file instead of Farsi chars: Can anyone help me? I want to write all these files in a CSV: example of what I have in one of them and want to write: but result: