Malcolm

Results 30 comments of Malcolm

You could look at the Unicode `Script` property of characters to determine if they need different treatment, instead of hardcoding ranges. Although that might mean another dependency (for example: https://github.com/unicode-rs/unicode-script)....

I think you need to remove/exclude/bypass single-character words from the word dictionary. That way it can fall back to the individual hanzi data (which provides the most common reading).

There are also some multi-character words with multiple readings, so if you wanted to be thorough you could try and get some reading frequency data for those and/or use some...

My specific use case is that I'm developing a data import script where it's important that I be able to run individual parts of it ad-hoc with different inputs and...

@furiousOyster Assuming you're talking about the consuming code (rather than the library itself), I don't understand what that has to do with a standard REPL started from the shell with...

I'll put the PR number here so it's linked properly to this issue: #306 Unfortunately the solution there is problematic per my comment there. Also, manually using `process.stdin.resume()` as above...

> without [this change](https://github.com/EdJoPaTo/wikibase-sdk/blob/9bb766863513c85798f7f5be0d5f2310d37ce12f/lib/wikibase-sdk.js#L95) the typings seem to get way more complicated than in #69. (Maybe I have overlooked something?) That seems weird to me, usually it's not up to...

Just to make things more confusing, here's a counter-example where both the JSON and the RDF values are the same (`-2500000-01-01T00:00:00Z`): https://www.wikidata.org/wiki/Q3273066 I assume this has something to do with...

The reasoning for using a separate cookie seems to be in the readme: > This allows other libraries to access the original cookies without having to know the signing mechanism....

It doesn't work in Node.js either, on either Windows or Linux (Ubuntu), even though it purports to include the "full ICU".