marcotcr / anchor

Code for "High-Precision Model-Agnostic Explanations" paper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spacy object for anchor text

swsanalytics opened this issue · comments

Does lime_anchor require the spacy model file to work? or, can I put something in its place?

I assume you mean anchor_text. You can replace it with something that tokenizes strings, but then you would have to reimplement this function, as it relies heavily on spacy (see also this). I would suggest you just use spacy : )