Hi AlPe,
Thank you for the python script. I tranformed the dictionary sucessfully.
But have a little problem. The newline character in stardict will not show in the kobo dict.
For example, the right format should be:
Quote:
face
/feɪs; fes/ n
1 front part of the head from the forehead to the chin
*a pretty, handsome, etc face
* Go and wash your face.
* He was so ashamed that he hid his face in his hands.
2 expression shown on a face
*a sad face
* smiling faces
* She had a face like thunder, ie She looked very angry.
|
But current format is as below:
Quote:
face
/feɪs; fes/ n 1 front part of the head from the forehead to the chin *a pretty, handsome, etc face * Go and wash your face.. * He was so ashamed that he hid his face in his hands. * I saw many familiar/strange faces, ie people whom I recognized/did not recognize. 2 expression shown on a face *a sad face * smiling faces * She had a face like thunder, ie She looked very angry.
|
Can you add some code to the script to replace the new line character with <br/>?