2021年3月4日星期四

How can I extract numbers based on context of the sentence in python?

I tried using regular expressions but it doesn't do it with any context

Examples:: "250 kg Oranges for Sale" "I want to sell 100kg of Onions at 100 per kg"

https://stackoverflow.com/questions/66485593/how-can-i-extract-numbers-based-on-context-of-the-sentence-in-python March 05, 2021 at 09:48AM

没有评论:

发表评论