Alexandru Moșoi avatar Alexandru Moșoi committed dc1be5a

More words!

Comments (0)

Files changed (2)

   text = re.sub(ur"(?=\B[^i])i\b", pick((u"i", u"ii")),
                 text, flags=re.UNICODE)
 
-  text = re.sub(ur"\btu\b", "u", text)
-  text = re.sub(ur"\bTu\b", "U", text)
+  text = re.sub(ur"\beu\b", pick(("yo", "eu")), text)
+  text = re.sub(ur"\bEu\b", pick(("Yo", "Eu")), text)
+  text = re.sub(ur"\btu\b", pick(("tu", "u")), text)
+  text = re.sub(ur"\bTu\b", pick(("Tu", "U")), text)
+
+  text = re.sub(ur"\bfoarte\b", r"f", text)
+  text = re.sub(ur"\bFoarte\b", r"F", text)
+
+  text = re.sub(ur"\bpentru\b", r"pt", text)
+  text = re.sub(ur"\bPentru\b", r"Pt", text)
 
   text = re.sub(ur"ie", pick(("ie", "e")), text)
   text = re.sub(ur"Ie", pick(("Ie", "i")), text)

analfebatized.txt

-Iarna p ulitza 
+Earna p ulitza 
 
-Anceput d eri sa kda
-Kteun fulg, akum a stat,
-Norii sa-u ma-i razbunat
+Ancep-ut d ieri sa kda
+K-teun fulg, akum a stat,
+Nori s-au m-ai razbunat
 Spr apus, dar stau gramada
 Pest sat.
 
-Nu e soar, dar e bin,
-Shi p riu e nu mai fum.
-Vantui linishtit akum,
-Dar navalnik vuet vin
+Nu kr e soar, dar kr e bin,
+Shi p rau e nu mai fum.
+Vant-ui linishtit akum,
+Dar navalnik vuiet vin
 D p drum.
 
-Sunt kopi. Ku mult sani,
+Kr sunt kopii. Ku mult sanii,
 D p koasta vin tzipand
-Shi semping shi sar rizand;
-Prin zapada fak matanii;
-Vrandnevrind.
+Shi sempi-ng shi s-ar razind;
+Prin zapada fak matani;
+Vrindnevrand.
 
-Gura fak k roata morii;
-Shi dea valma s pornesk,
+Gura fak k roata mori;
+Shi d-ea valma s pornesk,
 Kum prin gard s galcevesk
-Vrabi gureshkr e, knd nori
+Vrabii gureshkr e, knd nori
 Ploi vestesk.
 
-Cei ma-i mari akum, din sfada,
-Stau penkerat pushi;
+Cei mai mari akum, din sfada,
+Stau penkierat pushi;
 Cei mai mici, d foameadushi,
-S skncesk shi plang gramada
+S skncesk shi pling gramada
 P l-a ushi.
 
 Ko-lon koltz akum rasar
-Un kopil, a-l nu shtiu kui,
-Largi deun kot kr sunt pashii lui,
-Iar el mik, kci p krar
-Park nui.
+Un kopi-l, a-l nu shtiu kui,
+Largi deun kot sint pashi lui,
+Iar e-l mik, kci p krar
+Park nu-i.
 
-Haina-i maturand pamantul
-Sh-io tarasht-abia, abea:
-Cinci k e-l ankp in ea,
-Sa mai bata, soro, vintul
+Ha-inai maturind pamantu-l
+Shi-o tirashtiabia, abea:
+Cinci k el inkp an ia,
+Sa mai bata, soro, vantul
 Dako vria!
 
-El kr e so-l prekum s vd,
-Ma-s-a l-a trimis in sat,
-Vezi dea-ceeai ankruntat,
+E-l kr e so-l prekum s vd,
+Masa l-a trimis an sat,
+Vezi d-aceeai inkruntat,
 Shi savanta, shi s krd
 K-i barbat;
 
-Kden brinci shi s ridik
-Dand p ceafa putzint-l
-Toata lina unui miel:
+Kd-en brinci shi s ridik
+Dind p ciafa putzint-l
+Toata lina unui mie-l:
 O kciula mai voinik
-Dekt e-l.
+Dekt el.
 
-Shi tot vin, tot anoata,
+Shi tot vin, tot inoata,
 Dar deodata ku oki vi,
 Sta p lok - sa mi t tzi!
 Kolo, zgomotoasa gloata,
-D kopi!
+D kopii!
 
-E-l deg-raban jur kitesht
-Vrun okol, kci e pierdut,
-Dar kopiii la-u vazut!
-Toata ciata navalesht
-Pentrekut.
+El degrab-an jur kitesht
+Vrun okol, kci kr e pierdut,
+Dar kopii lau vazut!
+Toata ceata navalesht
+P-ntrekut.
 
-- "Uit-ei, ma, kciula, frat,
+- "Uitei, ma, kciula, frat,
 Mar kt o zi d post -
 Aoleu, c urs mi-a fost!
-Au sub dinsa shapt sat
+Au sub dansa shapt sat
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.