Peter Bengtsson

Results 314 comments of Peter Bengtsson

By the way, my hack is here: https://github.com/peterbe/langdetect Careful, I haven't done go for a long time.

For what it's worth, I tested something similar with a different project (https://pypi.python.org/pypi/guess_language-spirit) and it's based on a bunch of trigrams too. I can't remember the example but it suffered...

I tried [franc](https://github.com/wooorm/franc) too. ```javascript var franc = require('franc'); console.log(franc("Le candidat socialiste à l’élection présidentielle.")) console.log(franc("Mitt namn på svenska är Peter")) console.log(franc("testing in english")) console.log(franc("wondering still if it works in...

Thanks so much for opening an issue! We've got an internal issue tracking this, so I'm going to close this one ✨ (note-to-self; it's issue # 2019)

👋 There are bugs in https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/css-tree/index.d.ts For example, `isEmpty` on the `List` class is not a method. It's a getter. So instead of: ```ts export class List { ... isEmpty():...

For what it's worth, my `eslint` forced me to jump through hoops. So I ended up with this: ```ts // `node.prelude.children.isEmpty` is a getter, not a method. // Pretty sure...

I too would appreciate this. But plan B would be to use Prettier instead.

Still a bug. I'm using a simple NextJS v13 with https://primer.style/react/Autocomplete All I did was: ```tsx export function Input() { return ( Pick a branch ) } ``` I can,...

[react-awesome-reveal](https://github.com/morellodev/react-awesome-reveal) requires `@emotion/react` which has peer dependency problems with modern Nextjs projects, due to various `babel` packages :(

Thank you so much @pberthonneau ! I've filed this in our internal tracker with some context. Note-to-team, the new issue ID 2472