FineFindus / Hieroglyphic

Find LaTeX symbols
https://apps.gnome.org/en/Hieroglyphic/
GNU General Public License v3.0
65 stars 16 forks source link

Add \mathbb symbols #26

Open phikal opened 2 months ago

phikal commented 2 months ago

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.

FineFindus commented 2 months ago

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.

phikal commented 2 months ago

OK, I'll be closing the issue then.

FineFindus commented 2 months ago

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

phikal commented 2 months ago

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

FineFindus commented 2 months ago

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.