Skip to content

Commit d95cb8d

Browse files
author
Thomas Bird
committed
use trf model instead of lg so that we dont need another spacy model installed for the docs
1 parent 106ddbd commit d95cb8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/usage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ In the example below we're looking for the name `river farrier` and ignoring the
252252
... ])
253253
>>> scrubber = scrubadub.Scrubber()
254254
>>> text = "Who can find River Farrier further down the river?"
255-
>>> scrubber.add_detector(scrubadub_spacy.detectors.SpacyEntityDetector(model='en_core_web_lg'))
255+
>>> scrubber.add_detector(scrubadub_spacy.detectors.SpacyEntityDetector(model='en_core_web_trf'))
256256
>>> scrubber.clean(text)
257257
'Who can find River Farrier further down the river?'
258258
>>> scrubber.add_detector(supplied_filth_detector)

0 commit comments

Comments
 (0)