satya77 / Transformer_Temporal_Tagger

Code and data form the paper BERT Got a Date: Introducing Transformers to Temporal Tagging
MIT License
65 stars 5 forks source link

Cannot directly write out annotation_group due to potentially different casing #8

Open linguist89 opened 2 years ago

linguist89 commented 2 years ago

Hey there,

I'm getting the following error and I'm not sure what is causing it.

/opt/conda/lib/python3.9/site-packages/temporal_taggers/evaluation/tagger_evaluation.py(152)place_timex_tag() 150 import pdb 151 pdb.set_trace() --> 152 print(f"Remaining raw text: {raw_text}") 153 raise ValueError(f"Could not find current annotation group \"{annotation_group}\" in text.") 154 # Cannot directly write out annotation_group due to potentially different casing

Any ideas on how I can troubleshoot?

dennlinger commented 2 years ago

Hi, can you give a bit more information on how you are ending up with this error? Are you running a particular script or function? Any information on the file that you want to tag?