Skip to content

CAL-01 | NER Date/Time Extraction #40

Description

@Manish281005

Task: CAL-01 | NER Date/Time Extraction

Estimated Hours: 1h | Owner: MK | Priority: P0 | Status: Completed

Definition:
Use spaCy NER model to extract date/time entities from email body (e.g., "May 15", "next Friday", "2025-05-15 14:00"). Fallback to regex patterns. Normalize all dates to ISO 8601 format.

Note

Fully integrated spaCy en_core_web_sm model for NER date/time parsing with relative date normalization and regex fallback.

Acceptance Criteria:

  • spaCy model en_core_web_sm extracts date entities
  • Fallback regex: "on [date]", "by [date]", "this [day]"
  • Normalizes to ISO 8601: 2025-05-14T14:00:00Z
  • Returns {date: str, time: str, confidence: float}
  • No date detected → returns None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions