-
If I have raw data that I can get into tsv format in a spreadsheet program, and want to convert to slob and StarDict formats, is there a way to tell pyglossary that some items are alternative headwords and not free-standing entries? Also, is there a standard practice for separating lines of the definition or is this just preference? I can experiment of course but if you have a second line (let's say the headword is a noun and the language requires unit words for nouns, which should appear somewhere in the entry) does this go on a new row of the tsv, or if not is it best to separate it with a carriage return or linefeed or maybe by putting the lines in html divs? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is how we process CSV:
If you export from spreadsheet, it should automatically quote everything that needs quoting (For example if there are several alternative headwords, or your definition contains
Try pasting multi-line text in spreadsheet and save as csv. Another thing, if you use common html tags, pyglossary will detect them and change the entry format to html (when you convert to StarDict or slob). Otherwise assumes it's plaintext. If you have long definitions / translations, spreadsheet may not be the best tool to edit. |
Beta Was this translation helpful? Give feedback.
This is how we process CSV:
,
If you export from spreadsheet, it should automatically quote everything that needs quoting (For example if there are several alternative headwords, or your definition contains
,
or newlines)