Skip to content

Extending DATE recognition? #9

@paul-bell

Description

@paul-bell

Hello Sanjaya,

In following your timeline example at https://github.com/winkjs/showcase-timeline#winknlp-timeline, I set the text variable to the data shown below (which is pretty much a timeline by itself).

I was surprised that the program returned no DATE objects, but then realized that dates of the form shown are not valid input to the JavaScript Date constructor.

What change would be required to the program to detect this date format and report it as a DATE?

Thanks for your help.

-Paul

4:32:01 AM PDT
All suspects are now in police custody.
4:29:02 AM PDT
No further updates have been provided.
4:25:57 AM PDT
No injuries have been reported. Officers have not stated whether any shots were fired.
4:24:42 AM PDT
LAPD units advise they are holding three suspects at gunpoint.
4:24:41 AM PDT
The address reported for this incident has changed to W 76th St & S Broadway.
4:24:03 AM PDT
An officer at the scene reports seeing the possible suspect vehicle.
4:23:05 AM PDT
Police have received another report of a shooting at 7617 S Broadway.
4:23:04 AM PDT
The address reported for this incident has changed to 7617 S Broadway.
4:21:49 AM PDT
The address reported for this incident has changed to 317 W 78th St.
4:21:05 AM PDT
A possible suspect vehicle may have fled southbound.
4:20:08 AM PDT
A 911 caller has reported hearing three or four gunshots in the area. This report is unconfirmed.
4:20:07 AM PDT
Incident reported at 3171 W 78th St.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions