Skip to content

Commit

Permalink
Fix parallel typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lukehsiao committed Apr 15, 2018
1 parent 84364d8 commit 1062a5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/parser/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def test_parse_document_md(caplog):
# Create an OmniParser and parse the md document
omni = OmniParser(
structural=True, lingual=True, visual=True, pdf_path=pdf_path)
omni.apply(preprocessor, parallel=PARALLEL)
omni.apply(preprocessor, parallelism=PARALLEL)

# Grab the md document
doc = session.query(Document).order_by(Document.name).all()[1]
Expand Down Expand Up @@ -137,7 +137,7 @@ def test_parse_document_diseases(caplog):
# Create an OmniParser and parse the md document
omni = OmniParser(
structural=True, lingual=True, visual=True, pdf_path=pdf_path)
omni.apply(preprocessor, parallel=PARALLEL)
omni.apply(preprocessor, parallelism=PARALLEL)

# Grab the diseases document
doc = session.query(Document).order_by(Document.name).all()[0]
Expand Down Expand Up @@ -186,7 +186,7 @@ def test_spacy_integration(caplog):

corpus_parser = OmniParser(
structural=True, lingual=True, visual=False, pdf_path=pdf_path)
corpus_parser.apply(doc_preprocessor, parallel=PARALLEL)
corpus_parser.apply(doc_preprocessor, parallelism=PARALLEL)

docs = session.query(Document).order_by(Document.name).all()

Expand Down

0 comments on commit 1062a5e

Please sign in to comment.