Hieroglyphic icon indicating copy to clipboard operation
Hieroglyphic copied to clipboard

Add \mathbb symbols

Open phikal opened this issue 1 year ago • 5 comments

When I draw a blackboard character like ℕ, I'd expect \mathbb{N} to be mentioned, but instead I only get a suggestion from dsfonts. I think the former should be included as well.

phikal avatar Aug 24 '24 18:08 phikal

Thanks for the suggestion, indeed only \mathbb{1} is currently included. Unfortunately, it is relatively hard to add new symbols, since they require a lot of training data to be classified accurately, and there is currently no way to get any. Also, I'm in the process of rewriting the classification backend, so it will probably be a while before they can be added.

FineFindus avatar Aug 26 '24 15:08 FineFindus

OK, I'll be closing the issue then.

phikal avatar Aug 26 '24 17:08 phikal

I didn't mean that it won't be implemented, just that it will take some time (it will be faster with help :)).

FineFindus avatar Aug 26 '24 18:08 FineFindus

Oh, my bad. What kind of help could you need?

phikal avatar Aug 27 '24 07:08 phikal

I'm currently sorting the data that detexify (the classification backend) uses for classification, as it contains a bunch of misclassified data. For example, the lambda symbol contains 3 lambda symbols, while the rest is mostly chi.

Lambdas that are actually chis

So if you have any idea how to automate the process (there are 44k data points) or want to help sort them manually, your help is more than welcome :)

After this is done, I would like to look into implementing a method to create new symbols (e.g. through user contributions), which will likely require multiple people to draw the symbol, to increase the variation of it.

FineFindus avatar Aug 27 '24 20:08 FineFindus

Hieroglyphic with the integer set Implemented in https://github.com/FineFindus/Hieroglyphic/commit/ab1171d94cf81c0a4867c6f51dcc4734305e0cb. However, due to the nature of the training data (sparse and not a lot of variation), the model may fail to find the symbols. If you want to help, feel free to opt into data contribution, draw and select the symbol.

FineFindus avatar Feb 23 '25 14:02 FineFindus