gavishpoddar's Blog

Weekly Check-In #2

gavishpoddar
Published: 06/22/2021

Hi, community back with the second check-in.

1. What did you do this week?

Fixes and Tests - This week I spend most of my time writing tests, settings, making the implemented functions simpler for the user and updating setup.py

2. What is coming up next?

In the next week, I am looking forward to writing documentation, language mapping, create tests for settings and check workings with other settings.

3. Did you get stuck anywhere?

Nothing major as such, I had some minor problems with the tests.

Thank you for reading!

View Blog Post

Weekly Blog #1

gavishpoddar
Published: 06/15/2021

Weekly Update

Hello,

We have had 1 week of coding till now and overall am pleased with the progress of the project. It has been going smoothly without too many major issues we have had frequent feedbacks from mentors are a great help for the development.

This weak was mostly spent on implementing the functions for the language detection function and creating additional settings.

Implementation of an optional language detection function for the dateparser library which allows to plugin language detection library and along with a few selected internally supported library.

The Implemented function takes text and settings as parameter and returns list with language codes which is further used by the dateparser for the translation for the date-time. The function is passed into dateparser as parameter. Any one may plugin there own function to the dateparser for language detection.

The biggest issue we faced this week was on how to make the minimum file import requirements and allow easier use in CLI, Python Notebooks. We solved the issue by actually passing the function as a parameter to the dateparser's parse function.

Implemented settings include:

  1. DEFAULT_LANGUAGE : Works as default language if no language is detected.
  2. LANGUAGE_DETECTION_STRICT_USE : This setting makes the strict use of parsed languages only.
  3. LANGUAGE_DETECTION_CONFIDENCE_THRESHOLD : Which helps set minimum confidence score of detected languages.

Next Week

  1. Functionality analysis of the implemented language detection.
  2. Mock test of parse, search_dates and DateDataParser.
  3. Unit tests for language detect functions.
  4. Updating setup.py for optional language detection.

Thanks for reading

View Blog Post

Weekly Check-in #1

gavishpoddar
Published: 06/08/2021

Greetings, Python community!

Hi, I am Gavish, and this summer I am working to implementing an optional language detection library in dateparse and fixing issues related to search_date. This is the first of many upcoming weekly blog posts where I will describe in brief the work I have done in the previous week and my plans for the upcoming week.

1. What did you do this week?

From the beginning of the community bonding period, I am engaging with the community and exploring many different open-source libraries that could be implemented with the dateparser library. The rest of the time was spent on configuring a local development environment, exploring the library in-depth and understand tox.

2. What is coming up next?

In the next week, I am looking to create the preview PR for the optional language detection. I would also work on tests for the optional language detection, and if time permits will implement the setting for the language detection.

3. Did you get stuck anywhere?

Nope. I learned a lot from constant feedback from my mentors. It was an awesome week 😃.

Thank you for reading!

View Blog Post