liebeck / iwnlp-py Goto Github PK
View Code? Open in Web Editor NEWPython port for IWNLP.Lemmatizer
License: MIT License
Python port for IWNLP.Lemmatizer
License: MIT License
The link to the latest pre-processed IWNLP dump does not work, or the ressource is not available.
Since German has arbitrary composita, a purely lookup-based lemmatiser will often fail because of OOV words. But in many cases a guess that is better than nothing at all could be to combine the prefix with the lemma of a known suffix, e.g: lemma("Mithelferinnen" ) = "Mit"+lemma("Helferinnen").
Are there any plans to add support for composita?
Really appreciate your work.
At the moment the lemmatization seems to be nondeterministic. For example running
from iwnlp.iwnlp_wrapper import IWNLPWrapper
lemmatizer = IWNLPWrapper(lemmatizer_path='IWNLP.Lemmatizer_20170501.json')
print(lemmatizer.lemmatize_plain('ein', False))
sometimes gives ['einen', 'ein']
and sometimes ['ein', 'einen']
.
Is there already a way to get deterministic results? If not I see two possible solutions:
Hi, the following path seems to be unavailable http://lager.cs.uni-duesseldorf.de/NLP/IWNLP/IWNLP.Lemmatizer_20181001.zip
I encounter this issue by following the setup instruction in the README.md. Would be great if you have another temporary resource such that I can make my notebook work again :)
Hi @Liebeck,
first of all, thanks for this awesome package! Is there any particular reason why an IWNLP dump is not included by default in the pip package (is it due to size?)? It would be nice to have while giving the user the option to specify their own path.
Cheers,
Steph
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.