seerlabs / pdfmef Goto Github PK
View Code? Open in Web Editor NEWMulti-Entity Extraction Framework for Academic Documents (with default extraction tools)
License: Apache License 2.0
Multi-Entity Extraction Framework for Academic Documents (with default extraction tools)
License: Apache License 2.0
This happens on the first PDF file I tried to extract. The file can be downloaded from here
The error is not printed on the console, but in
000.000.001/000.000.001.header.tei
<?xml version='1.0' encoding='UTF-8'?>
<error>ExpatError: unbound prefix: line 2, column 0</error>
In this case, I put a pdf file named WuJWEBSCI2012-crawling.pdf in the repository, and configures PDFMEF to load from the file system, I got the following error. It looks like that the current code expects file names constructed by numerical characters but this is not the case in general.
Traceback (most recent call last):
File "main.py", line 140, in <module>
ids = wrapper.get_document_ids()
File "/home/jxw394/github/pdfmef/src/extractor/python_wrapper/wrappers.py", line 75, in get_document_ids
ids.append(utils.file_name_to_id(docPath[docPath.rfind('/') + 1 : docPath.rfind('.pdf') + 4]))
File "/home/jxw394/github/pdfmef/src/extractor/python_wrapper/utils.py", line 10, in file_name_to_id
return int(ID)
ValueError: invalid literal for int() with base 10: 'WuJWEBSCI2012-crawling'
In python_wrapper/properties.config, I set
fulltext_tei_to_csx: True
and got the following error message. What is exactly a "FullTextTEIExtractor"?
Traceback (most recent call last):
File "main.py", line 155, in <module>
runner.run_from_file_batch(files, outputPaths, num_processes=numProcesses, file_prefixes=prefixes)
File "/usr/lib/python2.6/site-packages/extraction/core.py", line 201, in run_from_file_batch
e.get()
File "/usr/lib64/python2.6/multiprocessing/pool.py", line 422, in get
raise self._value
LookupError: No runnable satisfies the requirement for a FullTextTEIExtractor
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.