smartschat / cort

A toolkit for coreference resolution and error analysis.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Display only files with errors

minhlab opened this issue · comments

Is it possible to visualize only files that contain at least one error? I have a large corpus and after filtering there are only a couple hundreds of errors. So I find myself looking at clean files most of the time (i.e. no annotations besides mention spans).

You need to modify cort/analysis/visualization.py.

I've created a gist for the modified file: https://gist.github.com/smartschat/85a892c1752129d9f553d716abe9cb1b

Does it work for you?

No, it creates an empty window :-(

screen shot 2017-05-01 at 11 52 23

I've updated the gist, it should work now.

You're welcome! I'll add this to cort's main branch later (with proper documentation and logging).