|
|
|
@ -29,6 +29,7 @@ Or put a copy of `pdfsearch.py` in your working directory.
|
|
|
|
|
>>> context_length = 2
|
|
|
|
|
>>> results = search_pdf(pdf_name, search_patterns, context_length)
|
|
|
|
|
|
|
|
|
|
>>> import pandas as pd
|
|
|
|
|
>>> pd.DataFrame(results)
|
|
|
|
|
|
|
|
|
|
document page pattern word context
|
|
|
|
|