Skip to content

Generate mismatch between date and day of week #6

@mayeulk

Description

@mayeulk

In structured dates (all dates formatted the same way in a vector) or unstructured ones (plain English text, to process by NLP methods), it could be cool to generate mismatch between date and day of week.

For instance, if a date reads one of the following:

14 June 2025
Saturday, June 14, 2025
Saturday, 14 Jun 2025
Sat, 14 Jun 2025

Then, pretend it's a Friday:

Friday 14 June 2025 (here, Friday was added)
Friday , June 14, 2025 (Saturday turned into Friday)
Fri , 14 Jun 2025 (idem)

This idea comes from the following:
In some social science assignements, I processed the work of my students (a contribution to a creative Commons social science database) to have text fields checked by the languagetool grammar checker (for instance with library(LanguageToolR), see https://github.com/nevrome/LanguageToolR ). I realised that some mistakes like "Friday 14 June 2025" were detected. Also, sometimes, in emails, I read suggestions to have a meeting on, say, "Friday 14 June 2025" (sic).

That could help teach students do advanced checks on dates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions