Skip to content

Commit

Permalink
use trf model instead of lg so that we dont need another spacy model …
Browse files Browse the repository at this point in the history
…installed for the docs
  • Loading branch information
Thomas Bird committed Oct 4, 2021
1 parent 106ddbd commit d95cb8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ In the example below we're looking for the name `river farrier` and ignoring the
... ])
>>> scrubber = scrubadub.Scrubber()
>>> text = "Who can find River Farrier further down the river?"
>>> scrubber.add_detector(scrubadub_spacy.detectors.SpacyEntityDetector(model='en_core_web_lg'))
>>> scrubber.add_detector(scrubadub_spacy.detectors.SpacyEntityDetector(model='en_core_web_trf'))
>>> scrubber.clean(text)
'Who can find River Farrier further down the river?'
>>> scrubber.add_detector(supplied_filth_detector)
Expand Down

0 comments on commit d95cb8d

Please sign in to comment.