π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
π¦π¦ππ¦π¦π¦ππ¦π¦π¦ππ¦π¦π¦ππππ¦ππππ¦πππππ¦ππ¦π¦π¦ππ¦π¦
π¦π¦πππ¦πππ¦π¦ππ¦ππ¦π¦π¦π¦ππ¦π¦ππ¦π¦ππ¦π¦π¦π¦π¦ππ¦ππ¦π¦π¦
π¦π¦ππ¦ππ¦ππ¦ππ¦ππ¦ππ¦π¦π¦ππ¦π¦ππ¦π¦ππππ¦π¦π¦π¦ππ¦π¦π¦π¦
π¦π¦ππ¦π¦π¦ππ¦π¦ππ¦ππ¦π¦ππ¦ππ¦π¦ππ¦π¦ππ¦π¦π¦π¦π¦π¦ππ¦π¦π¦π¦
π¦π¦ππ¦π¦π¦ππ¦π¦π¦ππ¦π¦π¦π¦ππ¦π¦ππππ¦ππ¦π¦π¦π¦π¦π¦ππ¦π¦π¦π¦
π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦
Mojification is a Jupyter Notebook-based helper for alignment of two texts in different languages. Based on Lingtrain Aligner (version 0.8.7), it does not change texts, but βmojifiesβ them.
π€ to mojify verb /ΛmΙdΚΙͺfaΙͺ/ to wrap corresponding sentences of two texts in different languages in emoji
Example of two mojified paragraphs from βLe Petit Princeβ / βThe Little Princeβ:
π¦β Les hommes ont oubliΓ© cette vΓ©ritΓ©, dit le renard.π¦ πMais tu ne dois pas lβoublier.π β³Tu deviens responsable pour toujours de ce que tu as apprivoisΓ©.β³ πΉTu es responsable de ta roseβ¦πΉ
π¦βMen have forgotten this truth,β said the fox.π¦ πβBut you must not forget it.π β³You become responsible, forever, for what you have tamed.β³ πΉYou are responsible for your roseβ¦βπΉ
Itβs used only to help to detect corresponding sentences while manually aligning two texts, for example, with the help of B-Editor or other aligner. The order of sentences is not violated in this case.
- Load packages
- Load two texts
- Align
- Mojify texts
- Save mojified texts
Emojis used in mojufication are symbols not presented in both texts. During every modification the set of used emojis are saved to file in the emojis folder and deleted in de-mojification step.
π€ to de-mojify verb /ΛdiΛΛmΙdΚΙͺfaΙͺ/ to delete emojis from two aligned texts
When two texts have been aligned, there is need to remove all emojis from them. Three steps to do it:
- Load packages
- Load two texts
- De-mojify texts