Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: date cues and context #253

Open
cvinot opened this issue Jan 24, 2024 · 0 comments
Open

Feature request: date cues and context #253

cvinot opened this issue Jan 24, 2024 · 0 comments

Comments

@cvinot
Copy link
Contributor

cvinot commented Jan 24, 2024

Feature type

Date detection pattern enhancement and/or cues to let know which tokens indicated mentions of date properties (mode, period, bound, direction) in a given date span. Context of the relative date if known (contextual, enunciation).

Description

I'm working on various use cases on dates, which I'm struggling to make work with your package, due to it requiring additional properties or cues on date pattern detection.

I would like to know

  • if you are thinking about these use cases, or if you don't plan on working on them.
  • If you could add cues on what patterns allowed to identify date properties (mode, period, bound, direction) to let users figure their own rules afterwards.

I could also try to work on modifying your date model etc... I just don't know exactly what are your plans on that subject, and wouldn't want to produce work in the wrong direction.

Some of these use cases:

age/relative date disambiguation:
"Je vois ce jour le patient à deux mois du premier cycle par ..." => relative date -2 months
"On note un cancer du poumon chez sa mère à 48 ans" => age mention.
"Diagnostique à 35 ans. Stabilisation de la maladie puis récidive à 40 ans" => age mentions

disambiguation "contextual vs enunciation" context on relative dates
Some date mentions clearly identify a date of reference which can be contextual or at the date of enunciation depending on the formulation used. In your patterns they are mixed up.

Ex:
"Il y à 4 ans...", "Depuis 4 ans..." "l'an dernier" => refers to the enunciation context
"4 ans auparavant/avant/après..." => refers to the contextual date

Let me know !

@cvinot cvinot mentioned this issue Feb 22, 2024
@cvinot cvinot mentioned this issue Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant