update universe for spacypdfreader (#12661)

This commit is contained in:
Vinit Ravishankar 2023-05-23 13:28:48 +02:00 committed by GitHub
parent 1f088cbf4a
commit f0e0206b77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -401,7 +401,7 @@
}, },
{ {
"id": "spacypdfreader", "id": "spacypdfreader",
"title": "spadypdfreader", "title": "spacypdfreader",
"category": ["pipeline"], "category": ["pipeline"],
"tags": ["PDF"], "tags": ["PDF"],
"slogan": "Easy PDF to text to spaCy text extraction in Python.", "slogan": "Easy PDF to text to spaCy text extraction in Python.",
@ -418,7 +418,7 @@
}, },
"code_example": [ "code_example": [
"import spacy", "import spacy",
"from spacypdfreader import pdf_reader", "from spacypdfreader.spacypdfreader import pdf_reader",
"", "",
"nlp = spacy.load('en_core_web_sm')", "nlp = spacy.load('en_core_web_sm')",
"doc = pdf_reader('tests/data/test_pdf_01.pdf', nlp)", "doc = pdf_reader('tests/data/test_pdf_01.pdf', nlp)",