GithubHelp home page GithubHelp logo

Comments (1)

alonrotem avatar alonrotem commented on August 11, 2024

Thanks a lot for your feedback!
As I commented on the post itself:

Those bad characters have been discussed in the post and in the comments as well.
First, there is a problem with the program's ability to detect the right dictionary languages, and thus the right encoding (although those can be forcefully provided as command line args, they are ignored at a later stage of the dictionary analysis). This has also been mentioned as a bug.
Second, those pronunciation characters are not well handled and they leak to the HTML output (where they should not be present).
There is an option to extract the definitions with pyglossary, which handles the special characters better, then combine those into the output html file. The better versions of the dictionaries I've shared (English > Hebrew) were built that way.
I've been thinking about incorporating pyglossary into my project and using its abilities to better parse the .bgl file, but alas- not much time to do that yet..

As for the HTML format, it is, after all, following HTML (even XHTML, if I recall correctly) standards so in general it should be displayed properly in a browser (although not all the tags and attributes are classic HTML, many of them need to be parsed by Mobi and would have no effect (or erroneous) in a proper browser.

from babylontohtml.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.