-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate number-parser into dateparser and price-parser #61
Comments
From the beginning, the goal has been for price-parser and Dateparser to make use of number-parser, in a way that is transparent to users. So, to your first question, I would go for the example 1, where users simply use price-parser, which uses number-parser underneath. When using price-parser, users do not even need to know that number-parser exists. As for features that could be added to number-parser to benefit Dateparser:
Mind that the prior Google Summer of Code project that created the library already started with the integration, it simply did not finish: scrapinghub/dateparser#711 |
Hi, @Manish-210; glad for the interest in the project. As @Gallaecio has mentioned, one of the objectives was to use number-parser in both price and date parser. The primary bottleneck in merging is not the final integration of the number-parser with either price-parser / date-parser (This could be just a single call to the number-parser library like this scrapinghub/dateparser#711 ). Feel free to tag me anytime you need help with the codebase/ideas will try my best to respond. Keeping the spirit of open-source and open-discussion let's talk here instead of direct message. |
Thanks, @Gallaecio and @arnavkapoor Just a general question for integrating and there does not exist any pull request for the integration of |
That pull request corresponds to the
None exists, no. The closest things is scrapinghub/price-parser#11, but we should probably close that in favor of an approach that uses number-parser. |
Hello, @Gallaecio I'd be very happy about feedback. |
@Manish-210 It looks like a great start. A few thoughts:
|
@Gallaecio @Manish-210 Is this issue solved or can i work on it?? |
@AmPhIbIaN26 If you mean to participate in Google Summer of Code 2021 as a student and work on this, feel free to work on a proposal. See https://gsoc2021.zyte.com/participate for details. If you mean as a regular contributor, since this is a big endeavor and already a target for GSoC proposals, it would be best not to work on this now, and let GSoC candidate students work on their proposals. |
I am thinking of writing a proposal on it for Google Summer of Code 2021, thanks I'll look it up |
@Gallaecio I wanted to ask, do I have to make number parser a part of both price and date parser? |
@AmPhIbIaN26 No, you don’t. You could focus on one of them, or you could only work on number-parser itself if you came come up with a set of features to implement that fits a GSoC project timeline. |
@Gallaecio I looked up this issue would you recommend this for my proposal for GSoC 2021? |
@AmPhIbIaN26 If there are enough presently-used numerical system to fit the length of a GSoC project, yes, I think that would be a good choice. |
Thanks I'll look it up. |
Thanks for the great feedback @Gallaecio
I agree with your phrase, so I will eradicate these extra stretch goals and devote weeks 9 and 10 as extras weeks for integration.
Firstly, sorry for that absurd language. I was actually saying like there might be the requirement of supporting new languages for
for the implementation of other features, I was thinking to rely on the issues generated while integrating. (point out if there is any misunderstanding ). Sorry, if I missed any of your points. let me know any other points. |
One of the major use after building the
number-parser
might be to integrate it withprice-parser
anddateparser
as suggested by @noviluni .There are many features that are similar in these libraries, consider:
#4 in
number-parser
and #1 inprice-parser
. In both of these, the basic idea is to return the string of numbers mixed with words to return it as a number.Example:
This feature seems to be more favourable for
number-parser
and then integrate it withprice-parser
.There are many similar features that are related to each other in many ways, hence integrating might be a good option, but I have a few questions related to it.
Example:
dateparser
andnumber-parser
)?I was thinking to take this as a part of the GSoC 2021 also, would like to hear your views.
The text was updated successfully, but these errors were encountered: