snipsco / snips-nlu

Snips Python library to extract meaning from text
https://snips-nlu.readthedocs.io
Apache License 2.0
3.89k stars 513 forks source link

Implemented advanced log in CRFSlotFiller inference #776

Closed ClemDoum closed 5 years ago

ClemDoum commented 5 years ago

Description: Implemented advanced debugging logs for the CRFSlotFiller.

Until now debugging the CRFSlotFiller decisions was pretty obscure unless you put breakpoints in the code and used some pretty advanced tricks.

I added a log activated in debug level which prints token per token:

codecov-io commented 5 years ago

Codecov Report

Merging #776 into develop will increase coverage by <.01%. The diff coverage is 93.33%.

@@             Coverage Diff             @@
##           develop     #776      +/-   ##
===========================================
+ Coverage    88.08%   88.08%   +<.01%     
===========================================
  Files           76       76              
  Lines         4497     4540      +43     
  Branches       855      870      +15     
===========================================
+ Hits          3961     3999      +38     
- Misses         401      403       +2     
- Partials       135      138       +3