Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Emanuele Gherardini
    @ghepardo
    is not recognized ?
    sai krishna nadendla
    @SaiNadendla_twitter

    Hello i have the string like this " entries are due by admin123 January 4th, 2017 at 8:00pm created 01/15/2005 by ACME Inc. and associates. " after parsing it is giving the date and time like this 0123-01-04 20:00:00
    2005-01-15 00:00:00

    How can i resolve this can you please help me

    08walshth
    @08walshth
    Hi everyone, I've been using datefinder to extract dates from shipping vessel log books, but they usually use the 24-hour time format. Is there a way to recognize this in the datefinder tool without more preprocessing? Also, going further, they sometimes add a L to the time stamp, e.g. 2300L, to indicate "local time," so is there a way to further strip that, or would that also incur some creative preprocessing tasks? Thanks in advance!
    Sonia Singla
    @aster28
    Hi I used date finder, it is working fine, but problem is when I extract dates the order of dates get changed and not is same as in sentence it was, is there a way from where I can get date as per sentence? Thanks
    ctarnopol
    @ctarnopol
    Among many issues, one predominant one I found is in a string such as "3: Wednesday, April 25, 10:30am " In this case, no date is found. I believe the number in front next to the colon is the issue. Also, whenever there is simply a number in front such a s"3 Wednesday, April 25, 10:30am" the program incorrectly recognizes 3 as the day and 25 as the year. Hope these two bugs help the re-write
    yucer
    @yucer

    Hi!

    I want to submit some PRsw

    Pull requests. How can I run the tests ?
    yucer
    @yucer

    I get some test failing. It seems a wrong version of something ... or the lack of support of my environment for those CST and IRST

    tests/test_parse_date_string.py::test_parse_date_string_find_replace_nonexistent_tzinfo[ on 11-20-2015 6pm CST -11-20-2015 6pm-expected_captures0-expected_date0]
    /home/yucer/work/ws/kjellberg-erp/src/datefinder/.tox/py27/local/lib/python2.7/site-packages/dateutil/parser/_parser.py:1204: UnknownTimezoneWarning: tzname CST identified but not understood. Pass tzinfos argument in order to correctly return a timezone-aware datetime. In a future version, this will raise an exception.
    category=UnknownTimezoneWarning)

    tests/test_parse_date_string.py::test_parse_date_string_find_replace_nonexistent_tzinfo[ on 11-20-2015 6am IRST -11-20-2015 6am-expected_captures1-expected_date1]
    /home/yucer/work/ws/kjellberg-erp/src/datefinder/.tox/py27/local/lib/python2.7/site-packages/dateutil/parser/_parser.py:1204: UnknownTimezoneWarning: tzname IRST identified but not understood. Pass tzinfos argument in order to correctly return a timezone-aware datetime. In a future version, this will raise an exception.
    category=UnknownTimezoneWarning)

    rexovas
    @rexovas
    datefinder.JPG
    Having a strange issue here where 11:00 AM UTC Monday February 26 is being read in as august 9th for some reason
    Alvaro Paniagua
    @AlvaroPaniaguaT
    Hi i have a question
    im new using datefinder
    and i need to get the first date detected by find_dates
    how can i?
    Srilekha0906
    @Srilekha0906
    hi.. could you please let me know how to use datefinder
    Alvaro Paniagua
    @AlvaroPaniaguaT
    hi
    i cant install datefinder on amazonlinux:2017.03
    problem with python-h
    python.h
    shravan
    @shravanc
    Hi
    just had a doubt
    Considering this string "Business Taxation 2017 January 16, 2018". I get output for 2017 alone.
    It is ignoring January 16, 2018
    is there any work around for this
    ?
    to make it consider "January 16, 2018" ?
    vikasmanyata
    @vikasmanyata
    how to give base date in date finder
    Andrey
    @AndreyCorelli
    Hi, Alec! I branched from datefinder:master. Made speed improvement. Your DateFinder regex patterns work fine 98% of time... but bring Regex catastrophic backtracking problem on "tables" in plain text.
    I'd be happy to become a contributor of your project to share my branch and, maybe, make a pull request.
    Here's an example of text that takes about 48s to be parsed... 0.006s after applying my changes: https://www.codepile.net/pile/gQwgz8QE
    Iñaki Crespo
    @nanaky92
    hello
    is there a way of making 01.04.2019 the 1st of April, 2019, and not the 4th of January of 2019?
    Iñaki Crespo
    @nanaky92
    for what I see this is because of dateutil.parser
    Iñaki Crespo
    @nanaky92
    I did a pull request to try to solve this, but I don't think anyone is listening
    Antony Oduor
    @ooduor
    Hello, what is the best way to inject year in a string like "I WAS shocked to read a story in the TIMES on June 13" to give it context? In this case to give context the article was in 1968. But datefinder assumes 2019 and generates 2019-06-13 instead of 1968-06-13. Thanks
    lekn
    @lekn
    Hi how can I set the base_date as "yyyy-mm-dd" as I don't want to have the times(hours,minutes and seconds)?
    erikjjpost
    @erikjjpost
    Hi, maybe a stupid question, but here goes: I imported datefinder in my script with "import datefinder". When i try to use the module I get an error message : ModuleNotFoundError: No module named 'datefind'. Newly installed with pip install datefind, it should work afaik. What's this noob doing wrong?
    I checked my paths by the way, looks allright to me.
    erikjjpost
    @erikjjpost
    ah, found it, just a plain old typo. thx for reading this
    Piyush Ajmani
    @piyush0
    Is there a way to support months in other languages (eg: Spanish) 28th diciembre 2020
    juancotrino
    @juancotrino
    Hello. I'm trying to use this function 'datefinder.find_dates("P_CHIRPS.v2.0_mm-day-1_daily_2020.01.28.tif", source=True, strict=True)', the parameter strict is set to True cause otherwise the function will consider the '2.0' as a date (tried setting strict=False), but with strict=True I get nothing. Thanks for the help.
    Suyash Garg
    @suyashgr_twitter

    Unable to extract date from the statement below when I am using 0.7.1 version. I was able to extract date correctly using 0.7.0

    "loans acquired in 2019"

    Alec Koumjian
    @akoumjian
    thanks @suyashgr_twitter , looking into it
    sudobangbang
    @ranchodeluxe
    i had no idea how active this channel is!
    PriyatoshRaut
    @PriyatoshRaut
    Hey, is there a way to give output of 02/05/2020 as 2nd May 2020 rather than 5th February 2020?
    Alec Koumjian
    @akoumjian
    @PriyatoshRaut Sorry, just saw this. I could have sworn we had an option to that (passing dayfirst into the dateutil parser function) but I see now we don't have it. I'm happy to add those as options.
    Alec Koumjian
    @akoumjian

    @PriyatoshRaut I've just added the new option. Please install from the master branch with pip install -e git+https://github.com/akoumjian/datefinder.git@master

    Then try running it against your text with the new first option: datefinder.find_dates(text, first="day")

    fortycal-t
    @fortycal-t
    Hi Alec, im planning on using datefinder to locate dates in a Resume/CV. i was wondering if you had any ideas how to detect if the dates are in descending/ascending order in the document, or if they are jumbled up
    Amandeep
    @amandeep1991
    how to locate dates in spite of just extract, actually I am trying to create a NER model and I need to preprocess text for the training data so I want to replace free_text_of_dates with a specific_date_format so that I can do intelligent tagging
    Amandeep
    @amandeep1991

    how to locate dates in spite of just extract, actually I am trying to create a NER model and I need to preprocess text for the training data so I want to replace free_text_of_dates with a specific_date_format so that I can do intelligent tagging

    @akoumjian Any idea how to locate dates