Comments (3)
Hi
There are many different pattern lists for German, indeed. This is mostly due to a very active community for building german patterns (http://projekte.dante.de/Trennmuster) updating the patterns every once a while.
I rebuild the patterns based on the most recent wordlist from the Trennmuster-group and updated the de.hpb. Now "zweihenklig" and "zytosol" are hyphenated correctly.
Pattern files are language-specific – it's ok that "indestructible" won't be hyphenated correctly by german patterns.
I'm very interested in your word list to check the patterns.
Best regards,
Mathias
from hyphenopoly.
Hi again,
thanks for the update! Works better now.
I'm very interested in your word list to check the patterns.
I've simply used the dictionary file from LanguageTool and then diff'ed the result from Hypenopoly and Pyphen.
You can find the dicts here: https://github.com/languagetool-org/languagetool/tree/master/languagetool-language-modules/de/src/main/resources/org/languagetool/resource/de/hunspell
While testing again i've noted a strange thing with nodejs the StringDecoder returns "95,97,98,99,100,101,102,103,104, ..." instead of "_abcdef...." which results in awkward word-splitting. Not sure if this a bug in nodejs or intended. I'am at v8.11.
from hyphenopoly.
While testing again i've noted a strange thing with nodejs the StringDecoder returns "95,97,98,99,100,101,102,103,104, ..." instead of "_abcdef...." which results in awkward word-splitting. Not sure if this a bug in nodejs or intended. I'am at v8.11.
Sorry, I missed that part.
Newer versions of node.js support TypedArrays as argument for StringDecoder.write(). Older versions require it to be a Buffer
.
from hyphenopoly.
Related Issues (20)
- hyphenation for Greek HOT 2
- SIGBUS crash while hyphenating english after some Russian words HOT 3
- Is late instantion of a language possible? HOT 3
- tracking issue for next major version (5.0.0) HOT 1
- hyphenopoly vs client hyphenation HOT 2
- Hyphenopoly doesn't seem to work with Firefox 94 HOT 5
- Using Hyphenopoly with other lib (paged.js inside) HOT 4
- Wrong hyphen characters on MacOs with chromium browsers HOT 5
- Example Code HOT 1
- en-us missing, also when not used HOT 2
- get "Module not found: Error:" HOT 2
- Callback when hyphenation is finished HOT 2
- Allow loader overwrite HOT 6
- Stop using fs module HOT 3
- Optionally abort fetch in loader HOT 1
- Add language? HOT 4
- It doesn't work with Italian (maybe?) HOT 2
- Beta versions should not be the latest official version with package managers HOT 1
- Remove added hyphenation HOT 7
- Provide Hyphenopoly module path to loader() / loaderSync()? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyphenopoly.