akb89 / witokit Goto Github PK
View Code? Open in Web Editor NEWA Python toolkit to generate a tokenized dump of Wikipedia for NLP
License: MIT License
A Python toolkit to generate a tokenized dump of Wikipedia for NLP
License: MIT License
BLAS is not multithreaded by default on spacy v2.0.x.
This is solved with spacy v2.1.x currently in pre-release status.
Need to update spacy dependency and spacy model dependency as well.
Traceback (most recent call last):
File "/opt/conda/lib/python3.7/multiprocessing/pool.py", line 121, in worker
result = (True, func(*args, **kwds))
File "/opt/conda/lib/python3.7/site-packages/witokit/main.py", line 134, in _preprocess
for json_object in tqdm(wikiextractor.extract(input_xml_filepath)):
AttributeError: module 'wikiextractor' has no attribute 'extract'
I don't see any such function called extract()
here: https://github.com/attardi/wikiextractor
Any clues on how it works?
Hi,
Thanks for this awesome tool. However, I can't find a way to install it.
Here is my config:
Here is the error message:
ERROR: Could not find a version that satisfies the requirement wikiextractor==3.0.4 (from witokit) (from versions: 0.1)
ERROR: No matching distribution found for wikiextractor==3.0.4 (from witokit)
Apparently, only the v0.1 exists on PyPi.
Thanks for your help,
Best,
Charlotte.
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.