The py file is simply created to help people extract quatraples from doc file. Quatraples here is meaning that you can extract time, financial items and values out of sentence you input. Of course you can try to appraoch this by NLP method, like ner, crf... If you get a better solution, welcome to communicate with me, here is my contact mail: 547721604@qq.com
my python script is just a rule-based approach to get the quatraples, there may be a lot of situations that are not considered, please comment on the project so I can know and fix the potencial bugs, Thanks.
How to use the code? use function extract, input parameter is the original sentence