Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

words with german umlauts #5

Open
tiefenb opened this issue Feb 18, 2015 · 0 comments · May be fixed by #7
Open

words with german umlauts #5

tiefenb opened this issue Feb 18, 2015 · 0 comments · May be fixed by #7

Comments

@tiefenb
Copy link

tiefenb commented Feb 18, 2015

gramophone has a problems with german umlauts ( Ä, Ö, Ü, ä, ö, ü, ß)

var gramophone = require('gramophone');
var fs = require('fs');

var result = gramophone.extract('Hallo Welt! Das ist ein Text über ganz viele Umlaute wie äöüÄÖÜß. Lörem Ipsüm Lörem Ipsüm.', {stopWords: JSON.parse(fs.readFileSync(__dirname + '/stopwords.json')) });
console.log(result);

result: [ 'rem ips m', 'l rem ips' ]

can you help me? maybe their is a problems with the utf8 encoding?

@edlea edlea linked a pull request Jul 15, 2015 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant