Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AmaliePauli committed Oct 18, 2020
1 parent 0383107 commit c52ee68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/models/dependency.md
Expand Up @@ -100,7 +100,8 @@ chunker = load_spacy_chunking_model()
np_chunks = chunker.predict(text)

# Using the spaCy model to get linguistic features (e.g., tokens, dependencies)
# Note: this is used for printing features but is not necessary for processing the chunking task
# Note: this is used for printing features but is not necessary for processing the chunking task
# OBS - The model loaded is the same as can be loaded with 'load_spacy_model()'
nlp = chunker.model
doc = nlp(text)

Expand Down
2 changes: 1 addition & 1 deletion examples/benchmarks/chunking_benchmark.py
Expand Up @@ -8,7 +8,7 @@
from spacy.tokens.doc import Doc
from spacy.gold import read_json_object

from .utils import print_speed_performance, f1_report
from utils import print_speed_performance, f1_report


chunker = load_spacy_chunking_model()
Expand Down

0 comments on commit c52ee68

Please sign in to comment.