You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I went through all the steps to install char NER. I couldn't access the DateAdvanceDetector from django shell and DateDetector doesn't have detect method.
Could you please help me out to use date detector in django
from ner_v2.detectors.temporal.date.date_detection import DateAdvanceDetector
We would not recommend to use DateDetector directly but if you want you can call .detect_entity() on DateDetector instance. Currently we are changing the API to remove the DateAdvanceDetector and directly use DateDetector.
Hi all,
I went through all the steps to install char NER. I couldn't access the DateAdvanceDetector from django shell and DateDetector doesn't have detect method.
Could you please help me out to use date detector in django
from ner_v2.detectors.temporal.date.date_detection import DateAdvanceDetector
timezone=timezone,
past_date_referenced=past_date_referenced)
from ner_v2.detectors.temporal.date.date_detection import DateDetector
2.) detector = DateDetector(entity_name=entity_name, language=source_language,
timezone=timezone,
past_date_referenced=past_date_referenced)
output = detector.detect(message=message, entity_name=entity_name,
structured_value=structured_value,
fallback_value=fallback_value)
The text was updated successfully, but these errors were encountered: