fhamborg / Giveme5W1H

Extraction of the journalistic five W and one H questions (5W1H) from news articles: who did what, when, where, why, and how?
Apache License 2.0
510 stars 88 forks source link

How to change the parameter in the "enviroment extraction" #27

Closed lastshogun closed 5 years ago

lastshogun commented 5 years ago

As mentioned in the question, I would like to modify the "when" and "where" scoring weight according to your paper, but the weight setting format in initialization doesn't look the same as you mentioned in the paper. Please give me some clue how to change W0 W1 W2 W3 in S(when) calculation and W0, W1 in S(where) calculation, thanks a lot.

fhamborg commented 5 years ago

We've been reworking Giveme5W1H quite a bit since the paper was published. If you plan to use the exact version from the JCDL paper, you could checkout the version from back then (see https://github.com/fhamborg/Giveme5W1H/commits/master) - there you will find these parameters. However, I'd like to suggest to use the latest version as it is improved (also in regards to the performance) compared to the version from beginning of this year. Feel free to reopen this issue, in case this does not help you :-)

lastshogun commented 5 years ago

Thanks, and could you show me where can I find the specific definition of the three parameters" entailment, distance_from_publisher_date, accurate" in environment initialization program? Just in order to justify them properly.