Invalid Syntax

I want to use prodigy on Python to annotate my data, but when I write down the following example code to test I face with "Invalid Syntax" error. Would you please let me know a full python code for doing the task?

prodigy ner.manual ner_news_headlines blank:en ./news_headlines.jsonl --label PERSON,ORG,PRODUCT,LOCATION

I received the same error message either in Google Colab or PyCharm environment.

Hi @vahid ,

There seems to be nothing wrong with the command you wrote. Can you paste here the full traceback of the "Invalid Syntax" error? Also, can you double check what's inside news_headlines.jsonl, maybe something got corrupted and rendered it to be an invalid JSON when you downloaded it?