-
Can someone please point me out to the spec for dictionaries in tab file format? It looks like a simple format for me to generate, to then be converted by pyglossary. Did a simple test which worked great. Looking inside some files, it looks like there are some special tags that can be parsed by pyglossary, e.g.:
Dying to see the full spec. In particular, I need to know how to link to sound and image resources. In advance, big thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
HTML tags are not specific to Tab file or the input file format. But which HTML tags will work for you depends on which dictionary application you use. You have a point about having a format specification, because we do some escaping/unescaping on tabs, newlines and backslashes. |
Beta Was this translation helpful? Give feedback.
-
Thank you, @ilius In the meantime, saw that GoldenDict will not read images and sound in Stardict files. It looks like the Lingvo compiler isn't around anymore. Pyglossary doesn't output lsd, right? |
Beta Was this translation helpful? Give feedback.
HTML tags are not specific to Tab file or the input file format.
We only detect if the content of an entry is HTML, Plain text or XDXF (in case of Tabfile or other formats that can have be any of these).
And having
<k>
makes it be detected as XDXF.Having html tags makes it be detected as HTML.
But which HTML tags will work for you depends on which dictionary application you use.
You have a point about having a format specification, because we do some escaping/unescaping on tabs, newlines and backslashes.