View Single Post
Old 09-25-2022, 06:46 PM   #85
pzack
Connoisseur
pzack began at the beginning.
 
Posts: 79
Karma: 10
Join Date: Aug 2022
Device: kobo sage,elipsa
Hello, M. Sarmat89,

Thank you for respondig today, Sunday.

I first used the four lines of perl code from post#25 from Markismus to unfold the lines of the original full text file.

Next, I used your perl code on the output file built from the four lines of code; output4.csv.
perl -pe "s:^([^[]+?) *(?=\[):\1\t:" <your-file-here >destination.tsv

Afterwards, I used that tsv file in pyglossary for conversion to stardict.

Did I miss a step? Are the line unfolding codes correct?

cordially,
pz
pzack is offline