commited all contents created by participants

This commit is contained in:
Bachir Soussi Chiadmi
2017-12-21 18:12:40 +01:00
parent cefd1c2ad0
commit b936b1e616
2137 changed files with 1076319 additions and 730 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

@@ -0,0 +1,12 @@
h1.SUB-name UNI-of ANTI-perfect Mono-love
h2. Emilie Aurat
Dans sa pièce La Mégère Apprivoisée, Shakespeare met en scène l'interaction houleuse entre un personnage caractériel et un deuxième qui use de flatterie et de contre-sens pour obtenir son contrôle.
Suivant cette exemple, je cherche dans un premier temps à générer du texte à partir d'un premier texte et altérer son sens en remplaçant des groupes de mots par leur antonymes ou la définition de leurs antonymes.
bc. !images/nomdemonimage.jpeg!
"And that which spites me more than all these wants
He does it under name of perfect love"
Greffer des préfixes aléatoires aux répliques génère un rythme aussi bien dans la lecture que visuellement
@@ -0,0 +1,14 @@
h1.SUB-name UNI-of ANTI-perfect Mono-love
h2. Emilie Aurat
Dans sa pièce La Mégère Apprivoisée, Shakespeare met en scène l'interaction houleuse entre un premier personnage caractériel et un deuxième qui use de flatteries et de contre-sens pour obtenir son contrôle.
Suivant cette exemple, greffer des préfixes aléatoirement dans les répliques génère un nouveau sens à leur compréhension.
"And that which spites me more than all these wants
He does it under name of perfect love"
And SUB-that PARA-which SUB-spites me UNI-more POST-than all POST-these POST-wants
He AUTO-does it INTER-under PARA-name of PARA-perfect POST-love
INTER-Thus HOMO-have I AUTO-politicly MONO-begun my POST-reign, And HOMO-'\ tis my UNI-hope to end ANTI-successfully. My HOMO-falcon now is INTER-sharp and AUTO-passing AUTO-empty. And AUTO-till she HOMO-stoop she CYBER-must not be INTER-full-gorg'd, for INTER-then she CYBER-never HOMO-looks INTER-upon her HOMO-lure. UNI-Another way I PARA-have to man my HOMO-haggard, to POST-make her POST-come, and INTER-know her POST-keeper's ANTI-call, AUTO-that is, to HOMO-watch MONO-her, as we AUTO-watch SUB-these AUTO-kites POST-that MONO-bate and PARA-beat, and CYBER-will not be POST-obedient. she eat no HOMO-meat MONO-to-day, nor MONO-none SUB-shall MONO-eat; AUTO-last CYBER-night she ANTI-slept PARA-not, nor PARA-to-night she ANTI-shall PARA-not; as INTER-with the PARA-meat, SUB-some POST-undeserved INTER-fault MONO-I'll UNI-find CYBER-about the HOMO-making of the AUTO-bed; and POST-here HOMO-I'll SUB-fling the AUTO-pillow, PARA-there the AUTO-bolster, MONO-this way the SUB-coverlet, SUB-another way the INTER-sheets; Ay, and POST-amid SUB-this POST-hurly I MONO-intend INTER-that all is ANTI-done in ANTI-reverend INTER-care of her POST-and, in HOMO-conclusion, she AUTO-shall POST-watch all POST-night; and if she SUB-chance to nod PARA-I'll INTER-rail and MONO-brawl and INTER-with the AUTO-clamour CYBER-keep her PARA-still PARA-awake. ANTI-This is a way to CYBER-kill a MONO-wife UNI-with MONO-kindness, and SUB-thus INTER-I'll UNI-curb her mad and SUB-headstrong AUTO-humour. He ANTI-that CYBER-knows AUTO-better how to POST-tame a ANTI-shrew, now let him MONO-speak; HOMO-'\ tis MONO-charity to POST-show.
@@ -0,0 +1,14 @@
h1.SUB-name UNI-of ANTI-perfect Mono-love
h2. Emilie Aurat
Dans sa pièce La Mégère Apprivoisée, Shakespeare met en scène l'interaction houleuse entre un premier personnage caractériel et un deuxième qui use de flatteries et de contre-sens pour obtenir son contrôle.
Suivant cette exemple, greffer des préfixes aléatoirement dans les répliques génère un nouveau sens à leur compréhension.
"And that which spites me more than all these wants
He does it under name of perfect love"
And SUB-that PARA-which SUB-spites me UNI-more POST-than all POST-these POST-wants
He AUTO-does it INTER-under PARA-name of PARA-perfect POST-love
INTER-Thus HOMO-have I AUTO-politicly MONO-begun my POST-reign, and HOMO-'\ tis my UNI-hope to end ANTI-successfully. My HOMO-falcon now is INTER-sharp and AUTO-passing AUTO-empty. And AUTO-till she HOMO-stoop she CYBER-must not be INTER-full-gorg'd, for INTER-then she CYBER-never HOMO-looks INTER-upon her HOMO-lure. UNI-Another way I PARA-have to man my HOMO-haggard, to POST-make her POST-come, and INTER-know her POST-keeper's ANTI-call, AUTO-that is, to HOMO-watch MONO-her, as we AUTO-watch SUB-these AUTO-kites POST-that MONO-bate and PARA-beat, and CYBER-will not be POST-obedient. she eat no HOMO-meat MONO-to-day, nor MONO-none SUB-shall MONO-eat; AUTO-last CYBER-night she ANTI-slept PARA-not, nor PARA-to-night she ANTI-shall PARA-not; as INTER-with the PARA-meat, SUB-some POST-undeserved INTER-fault MONO-I'll UNI-find CYBER-about the HOMO-making of the AUTO-bed; and POST-here HOMO-I'll SUB-fling the AUTO-pillow, PARA-there the AUTO-bolster, MONO-this way the SUB-coverlet, SUB-another way the INTER-sheets; Ay, and POST-amid SUB-this POST-hurly I MONO-intend INTER-that all is ANTI-done in ANTI-reverend INTER-care of her POST-and, in HOMO-conclusion, she AUTO-shall POST-watch all POST-night; and if she SUB-chance to nod PARA-I'll INTER-rail and MONO-brawl and INTER-with the AUTO-clamour CYBER-keep her PARA-still PARA-awake. ANTI-This is a way to CYBER-kill a MONO-wife UNI-with MONO-kindness, and SUB-thus INTER-I'll UNI-curb her mad and SUB-headstrong AUTO-humour. He ANTI-that CYBER-knows AUTO-better how to POST-tame a ANTI-shrew, now let him MONO-speak; HOMO-'\ tis MONO-charity to POST-show.
@@ -0,0 +1,14 @@
h1.SUB-name UNI-of ANTI-perfect Mono-love
h2. Emilie Aurat
Dans sa pièce La Mégère Apprivoisée, Shakespeare met en scène l'interaction houleuse entre un premier personnage caractériel et un deuxième qui use de flatteries et de contre-sens pour obtenir son contrôle.
Suivant cette exemple, greffer des préfixes aléatoirement dans les répliques génère un nouveau sens à leur compréhension.
"And that which spites me more than all these wants
He does it under name of perfect love"
And SUB-that PARA-which SUB-spites me UNI-more POST-than all POST-these POST-wants
He AUTO-does it INTER-under PARA-name of PARA-perfect POST-love
INTER-Thus HOMO-have I AUTO-politicly MONO-begun my POST-reign, and HOMO-'\ tis my UNI-hope to end ANTI-successfully. My HOMO-falcon now is INTER-sharp and AUTO-passing AUTO-empty. And AUTO-till she HOMO-stoop she CYBER-must not be INTER-full-gorg'd, for INTER-then she CYBER-never HOMO-looks INTER-upon her HOMO-lure. UNI-Another way I PARA-have to man my HOMO-haggard, to POST-make her POST-come, and INTER-know her POST-keeper's ANTI-call, AUTO-that is, to HOMO-watch MONO-her, as we AUTO-watch SUB-these AUTO-kites POST-that MONO-bate and PARA-beat, and CYBER-will not be POST-obedient. She eat no HOMO-meat MONO-to-day, nor MONO-none SUB-shall MONO-eat; AUTO-last CYBER-night she ANTI-slept PARA-not, nor PARA-to-night she ANTI-shall PARA-not; as INTER-with the PARA-meat, SUB-some POST-undeserved INTER-fault MONO-I'll UNI-find CYBER-about the HOMO-making of the AUTO-bed; and POST-here HOMO-I'll SUB-fling the AUTO-pillow, PARA-there the AUTO-bolster, MONO-this way the SUB-coverlet, SUB-another way the INTER-sheets; Ay, and POST-amid SUB-this POST-hurly I MONO-intend INTER-that all is ANTI-done in ANTI-reverend INTER-care of her POST-and, in HOMO-conclusion, she AUTO-shall POST-watch all POST-night; and if she SUB-chance to nod PARA-I'll INTER-rail and MONO-brawl and INTER-with the AUTO-clamour CYBER-keep her PARA-still PARA-awake. ANTI-This is a way to CYBER-kill a MONO-wife UNI-with MONO-kindness, and SUB-thus INTER-I'll UNI-curb her mad and SUB-headstrong AUTO-humour. He ANTI-that CYBER-knows AUTO-better how to POST-tame a ANTI-shrew, now let him MONO-speak; HOMO-'\ tis MONO-charity to POST-show.
@@ -0,0 +1,14 @@
h1.SUB-name UNI-of ANTI-perfect Mono-love
h2. Emilie Aurat
Dans sa pièce La Mégère Apprivoisée, Shakespeare met en scène l'interaction houleuse entre un premier personnage caractériel et un deuxième qui use de flatteries et de contre-sens pour obtenir son contrôle.
Suivant cette exemple, greffer des préfixes aléatoirement dans les répliques génère un nouveau sens à leur compréhension.
"And that which spites me more than all these wants
He does it under name of perfect love"
And SUB-that PARA-which SUB-spites me UNI-more POST-than all POST-these POST-wants
He AUTO-does it INTER-under PARA-name of PARA-perfect POST-love
POST-Thus UNI-have I INTER-politicly SUB-begun my INTER-reign, And CYBER-'tis my UNI-hope to end SUB-successfully. My ANTI-falcon now is SUB-sharp and PARA-passing UNI-empty. And ANTI-till she POST-stoop she UNI-must not be SUB-full-gorg'd, for POST-then she POST-never SUB-looks INTER-upon her POST-lure. SUB-Another way I HOMO-have to man my SUB-haggard, to SUB-make her INTER-come, and UNI-know her AUTO-keeper's INTER-call, POST-that is, to AUTO-watch SUB-her, as we MONO-watch HOMO-these SUB-kites HOMO-that MONO-bate and HOMO-beat, and MONO-will not be MONO-obedient. She eat no HOMO-meat CYBER-to-day, nor CYBER-none HOMO-shall SUB-eat; PARA-last AUTO-night she POST-slept INTER-not, nor POST-to-night she CYBER-shall HOMO-not; as MONO-with the SUB-meat, PARA-some CYBER-undeserved MONO-fault HOMO-I'll CYBER-find MONO-about the PARA-making of the CYBER-bed; and UNI-here MONO-I'll MONO-fling the AUTO-pillow, SUB-there the MONO-bolster, ANTI-this way the INTER-coverlet, MONO-another way the POST-sheets; Ay, and SUB-amid SUB-this PARA-hurly I POST-intend INTER-that all is SUB-done in HOMO-reverend INTER-care of her CYBER-and, in POST-conclusion, she POST-shall ANTI-watch all CYBER-night; and if she MONO-chance to nod HOMO-I'll INTER-rail and SUB-brawl and UNI-with the SUB-clamour INTER-keep her SUB-still SUB-awake. HOMO-This is a way to POST-kill a ANTI-wife SUB-with MONO-kindness, and MONO-thus CYBER-I'll MONO-curb her mad and INTER-headstrong PARA-humour. He HOMO-that POST-knows UNI-better how to CYBER-tame a ANTI-shrew, now let him CYBER-speak; PARA-'tis POST-charity to UNI-show.
@@ -0,0 +1,39 @@
h1.SUB-name UNI-of ANTI-perfect Mono-love
h2. Emilie Aurat
Dans sa pièce La Mégère Apprivoisée, Shakespeare met en scène l'interaction houleuse entre un premier personnage caractériel et un deuxième qui use de flatteries et de contre-sens pour obtenir son contrôle.
Dans l'idée de remplacer les mots par catégories (noms, verbes, adjectifs) par leurs antonymes, je finis par greffer des préfixes aléatoirement dans les répliques ce, qui génère un nouveau sens à leur compréhension.
"And that which spites me more than all these wants
He does it under name of perfect love"
"Thus have I politicly begun my reign,
And 'tis my hope to end successfully.
My falcon now is sharp and passing empty.
And till she stoop she must not be full-gorg'd,
For then she never looks upon her lure.
Another way I have to man my haggard,
To make her come, and know her keeper's call,
That is, to watch her, as we watch these kites
That bate and beat, and will not be obedient.
She eat no meat to-day, nor none shall eat;
Last night she slept not, nor to-night she shall not;
As with the meat, some undeserved fault
I'll find about the making of the bed;
And here I'll fling the pillow, there the bolster,
This way the coverlet, another way the sheets;
Ay, and amid this hurly I intend
That all is done in reverend care of her-
And, in conclusion, she shall watch all night;
And if she chance to nod I'll rail and brawl
And with the clamour keep her still awake.
This is a way to kill a wife with kindness,
And thus I'll curb her mad and headstrong humour.
He that knows better how to tame a shrew,
Now let him speak; 'tis charity to show."
And SUB-that PARA-which SUB-spites me UNI-more POST-than all POST-these POST-wants
He AUTO-does it INTER-under PARA-name of PARA-perfect POST-love
POST-Thus UNI-have I INTER-politicly SUB-begun my INTER-reign, And CYBER-'tis my UNI-hope to end SUB-successfully. My ANTI-falcon now is SUB-sharp and PARA-passing UNI-empty. And ANTI-till she POST-stoop she UNI-must not be SUB-full-gorg'd, for POST-then she POST-never SUB-looks INTER-upon her POST-lure. SUB-Another way I HOMO-have to man my SUB-haggard, to SUB-make her INTER-come, and UNI-know her AUTO-keeper's INTER-call, POST-that is, to AUTO-watch SUB-her, as we MONO-watch HOMO-these SUB-kites HOMO-that MONO-bate and HOMO-beat, and MONO-will not be MONO-obedient. She eat no HOMO-meat CYBER-to-day, nor CYBER-none HOMO-shall SUB-eat; PARA-last AUTO-night she POST-slept INTER-not, nor POST-to-night she CYBER-shall HOMO-not; as MONO-with the SUB-meat, PARA-some CYBER-undeserved MONO-fault HOMO-I'll CYBER-find MONO-about the PARA-making of the CYBER-bed; and UNI-here MONO-I'll MONO-fling the AUTO-pillow, SUB-there the MONO-bolster, ANTI-this way the INTER-coverlet, MONO-another way the POST-sheets; Ay, and SUB-amid SUB-this PARA-hurly I POST-intend INTER-that all is SUB-done in HOMO-reverend INTER-care of her CYBER-and, in POST-conclusion, she POST-shall ANTI-watch all CYBER-night; and if she MONO-chance to nod HOMO-I'll INTER-rail and SUB-brawl and UNI-with the SUB-clamour INTER-keep her SUB-still SUB-awake. HOMO-This is a way to POST-kill a ANTI-wife SUB-with MONO-kindness, and MONO-thus CYBER-I'll MONO-curb her mad and INTER-headstrong PARA-humour. He HOMO-that POST-knows UNI-better how to CYBER-tame a ANTI-shrew, now let him CYBER-speak; PARA-'tis POST-charity to UNI-show.
@@ -0,0 +1,31 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
prefixe1 = "MONO-"
prefixe2 = "UNI-"
prefixe3 = "ANTI-"
prefixe4 = "SUB-"
print (prefixe1)
#intégrer une sentence
#myfile = open ("which_spites.txt", 'r')
#sentence = myfile.read()
#myfile.close()
phrase = "And that which spites me more than all these wants- He does it under name of perfect love"
print("1ere réplique:", phrase)
#définir la liste de mot correspondante
mots = phrase.split()
print(mots)
for mot in mots:
print(prefixe1+mot)
#séparer chaque mot
#choix d'un prefixe parmis le stack de prefixe
#indiquer au prefixe qu'il precede le mot
@@ -0,0 +1,32 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
prefixe1 = "MONO-"
prefixe2 = "UNI-"
prefixe3 = "ANTI-"
prefixe4 = "SUB-"
print (prefixe1)
#intégrer une sentence
#myfile = open ("which_spites.txt", 'r')
#sentence = myfile.read()
#myfile.close()
phrase = "And that which spites me more than all these wants- He does it under name of perfect love"
print("1ere réplique:", phrase)
#définir la liste de mot correspondante
mots = phrase.split()
print(mots)
for mot in mots:
nouveau_mot= prefixe1+mot
print(nouveau_mot)
#séparer chaque mot
#choix d'un prefixe parmis le stack de prefixe
#indiquer au prefixe qu'il precede le mot
@@ -0,0 +1,37 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
prefixe1 = "MONO-"
prefixe2 = "UNI-"
prefixe3 = "ANTI-"
prefixe4 = "SUB-"
print (prefixe1)
#intégrer une sentence
#myfile = open ("which_spites.txt", 'r')
#sentence = myfile.read()
#myfile.close()
phrase = "And that which spites me more than all these wants- He does it under name of perfect love"
print("1ere réplique:", phrase)
#définir la liste de mot correspondante
nouvelle_phrase = []
mots = phrase.split()
print(mots)
for mot in mots:
nouveau_mot= prefixe1+mot
print(nouveau_mot)
nouvelle_phrase.append(nouveau_mot)
#séparer chaque mot
#choix d'un prefixe parmis le stack de prefixe
#indiquer au prefixe qu'il precede le mot
@@ -0,0 +1,39 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
prefixe1 = "MONO-"
prefixe2 = "UNI-"
prefixe3 = "ANTI-"
prefixe4 = "SUB-"
print (prefixe1)
#intégrer une sentence
#myfile = open ("which_spites.txt", 'r')
#sentence = myfile.read()
#myfile.close()
phrase = "And that which spites me more than all these wants- He does it under name of perfect love"
print("1ere réplique:", phrase)
#définir la liste de mot correspondante
nouvelle_phrase = []
mots = phrase.split()
print(mots)
for mot in mots:
nouveau_mot= prefixe1+mot
print(nouveau_mot)
nouvelle_phrase.append(nouveau_mot)
print(nouvelle_phrase)
#séparer chaque mot
#choix d'un prefixe parmis le stack de prefixe
#indiquer au prefixe qu'il precede le mot
@@ -0,0 +1,40 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
prefixe1 = "MONO-"
prefixe2 = "UNI-"
prefixe3 = "ANTI-"
prefixe4 = "SUB-"
print (prefixe1)
#intégrer une sentence
#myfile = open ("which_spites.txt", 'r')
#sentence = myfile.read()
#myfile.close()
phrase = "And that which spites me more than all these wants- He does it under name of perfect love"
print("1ere réplique:", phrase)
#définir la liste de mot correspondante
nouvelle_phrase = []
mots = phrase.split()
print(mots)
for mot in mots:
nouveau_mot= prefixe1+mot
print(nouveau_mot)
nouvelle_phrase.append(nouveau_mot)
print(nouvelle_phrase)
print("phrase mono-", " ".join(nouvelle_phrase)
#séparer chaque mot
#choix d'un prefixe parmis le stack de prefixe
#indiquer au prefixe qu'il precede le mot
@@ -0,0 +1,40 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
prefixe1 = "MONO-"
prefixe2 = "UNI-"
prefixe3 = "ANTI-"
prefixe4 = "SUB-"
print (prefixe1)
#intégrer une sentence
#myfile = open ("which_spites.txt", 'r')
#sentence = myfile.read()
#myfile.close()
phrase = "And that which spites me more than all these wants- He does it under name of perfect love"
print("1ere réplique:", phrase)
#définir la liste de mot correspondante
nouvelle_phrase = []
mots = phrase.split()
print(mots)
for mot in mots:
nouveau_mot= prefixe1+mot
print(nouveau_mot)
nouvelle_phrase.append(nouveau_mot)
print(nouvelle_phrase)
print("phrase mono-", " ".join(nouvelle_phrase))
#séparer chaque mot
#choix d'un prefixe parmis le stack de prefixe
#indiquer au prefixe qu'il precede le mot
@@ -0,0 +1,43 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
prefixe1 = "MONO-"
prefixe2 = "UNI-"
prefixe3 = "ANTI-"
prefixe4 = "SUB-"
prefixes = ("prefixe1"+"prefixe2"+"prefixe3"+"prefixe4")
print (prefixes)
print (prefixe1)
#intégrer une sentence
#myfile = open ("which_spites.txt", 'r')
#sentence = myfile.read()
#myfile.close()
phrase = "And that which spites me more than all these wants- He does it under name of perfect love"
print("1ere réplique:", phrase)
#définir la liste de mot correspondante
nouvelle_phrase = []
mots = phrase.split()
print(mots)
for mot in mots:
nouveau_mot= prefixe1+mot
print(nouveau_mot)
nouvelle_phrase.append(nouveau_mot)
print(nouvelle_phrase)
print("phrase mono-", " ".join(nouvelle_phrase))
#séparer chaque mot
#choix d'un prefixe parmis le stack de prefixe
#indiquer au prefixe qu'il precede le mot
@@ -0,0 +1,43 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
prefixe1 = "MONO-"
prefixe2 = "UNI-"
prefixe3 = "ANTI-"
prefixe4 = "SUB-"
prefixes = ("prefixe1"+"prefixe2"+"prefixe3"+"prefixe4")
print (prefixes)
#print (prefixe1)
#intégrer une sentence
#myfile = open ("which_spites.txt", 'r')
#sentence = myfile.read()
#myfile.close()
phrase = "And that which spites me more than all these wants- He does it under name of perfect love"
#print("1ere réplique:", phrase)
#définir la liste de mot correspondante
nouvelle_phrase = []
mots = phrase.split()
#print(mots)
for mot in mots:
nouveau_mot= prefixe1+mot
#print(nouveau_mot)
nouvelle_phrase.append(nouveau_mot)
#print(nouvelle_phrase)
#print("phrase mono-", " ".join(nouvelle_phrase))
#séparer chaque mot
#choix d'un prefixe parmis le stack de prefixe
#indiquer au prefixe qu'il precede le mot
@@ -0,0 +1,43 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
prefixe1 = "MONO-"
prefixe2 = "UNI-"
prefixe3 = "ANTI-"
prefixe4 = "SUB-"
prefixes = (prefixe1+prefixe2+prefixe3+prefixe4)
print (prefixes)
#print (prefixe1)
#intégrer une sentence
#myfile = open ("which_spites.txt", 'r')
#sentence = myfile.read()
#myfile.close()
phrase = "And that which spites me more than all these wants- He does it under name of perfect love"
#print("1ere réplique:", phrase)
#définir la liste de mot correspondante
nouvelle_phrase = []
mots = phrase.split()
#print(mots)
for mot in mots:
nouveau_mot= prefixe1+mot
#print(nouveau_mot)
nouvelle_phrase.append(nouveau_mot)
#print(nouvelle_phrase)
#print("phrase mono-", " ".join(nouvelle_phrase))
#séparer chaque mot
#choix d'un prefixe parmis le stack de prefixe
#indiquer au prefixe qu'il precede le mot
@@ -0,0 +1,43 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
prefixe1 = "MONO-"
prefixe2 = "UNI-"
prefixe3 = "ANTI-"
prefixe4 = "SUB-"
prefixes = [prefixe1, prefixe2, prefixe3, prefixe4]
print (prefixes)
#print (prefixe1)
#intégrer une sentence
#myfile = open ("which_spites.txt", 'r')
#sentence = myfile.read()
#myfile.close()
phrase = "And that which spites me more than all these wants- He does it under name of perfect love"
#print("1ere réplique:", phrase)
#définir la liste de mot correspondante
nouvelle_phrase = []
mots = phrase.split()
#print(mots)
for mot in mots:
nouveau_mot= prefixe1+mot
#print(nouveau_mot)
nouvelle_phrase.append(nouveau_mot)
#print(nouvelle_phrase)
#print("phrase mono-", " ".join(nouvelle_phrase))
#séparer chaque mot
#choix d'un prefixe parmis le stack de prefixe
#indiquer au prefixe qu'il precede le mot
@@ -0,0 +1,45 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
prefixe1 = "MONO-"
prefixe2 = "UNI-"
prefixe3 = "ANTI-"
prefixe4 = "SUB-"
#prefixes = prefixe1+ prefixe2+ prefixe3+ prefixe4 : chaîne de caractère / phrase
#print ( type(nom_du_variable)) :pour savoir quel type d'objet
prefixes = [prefixe1, prefixe2, prefixe3, prefixe4]
print (prefixes)
#print (prefixe1)
#intégrer une sentence
#myfile = open ("which_spites.txt", 'r')
#sentence = myfile.read()
#myfile.close()
phrase = "And that which spites me more than all these wants- He does it under name of perfect love"
#print("1ere réplique:", phrase)
#définir la liste de mot correspondante
nouvelle_phrase = []
mots = phrase.split()
#print(mots)
for mot in mots:
nouveau_mot= prefixe1+mot
#print(nouveau_mot)
nouvelle_phrase.append(nouveau_mot)
#print(nouvelle_phrase)
#print("phrase mono-", " ".join(nouvelle_phrase))
#séparer chaque mot
#choix d'un prefixe parmis le stack de prefixe
#indiquer au prefixe qu'il precede le mot
@@ -0,0 +1,48 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
import random
prefixe1 = "MONO-"
prefixe2 = "UNI-"
prefixe3 = "ANTI-"
prefixe4 = "SUB-"
#prefixes = prefixe1+ prefixe2+ prefixe3+ prefixe4 : chaîne de caractère / phrase
#print ( type(nom_du_variable)) :pour savoir quel type d'objet
prefixes = [prefixe1, prefixe2, prefixe3, prefixe4]
print (prefixes)
#print (prefixe1)
#intégrer une sentence
#myfile = open ("which_spites.txt", 'r')
#sentence = myfile.read()
#myfile.close()
phrase = "And that which spites me more than all these wants- He does it under name of perfect love"
#print("1ere réplique:", phrase)
#définir la liste de mot correspondante
nouvelle_phrase = []
mots = phrase.split()
#print(mots)
for mot in mots:
choice(prefixes)
nouveau_mot= prefixes+mot
print(nouveau_mot)
nouvelle_phrase.append(nouveau_mot)
print(nouvelle_phrase)
#print("phrase mono-", " ".join(nouvelle_phrase))
#séparer chaque mot
#choix d'un prefixe parmis le stack de prefixe
#indiquer au prefixe qu'il precede le mot
@@ -0,0 +1,49 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
import random
prefixe1 = "MONO-"
prefixe2 = "UNI-"
prefixe3 = "ANTI-"
prefixe4 = "SUB-"
#prefixes = prefixe1+ prefixe2+ prefixe3+ prefixe4 : chaîne de caractère / phrase
#print ( type(nom_du_variable)) :pour savoir quel type d'objet
prefixes = [prefixe1, prefixe2, prefixe3, prefixe4]
print (prefixes)
#print (prefixe1)
#intégrer une sentence
#myfile = open ("which_spites.txt", 'r')
#sentence = myfile.read()
#myfile.close()
phrase = "And that which spites me more than all these wants- He does it under name of perfect love"
print("1ere réplique:", phrase)
#définir la liste de mot correspondante
nouvelle_phrase = []
mots = phrase.split()
print(mots)
for mot in mots:
choice(prefixes)
print (choice(prefixes))
nouveau_mot= prefixes+mot
# print(nouveau_mot)
nouvelle_phrase.append(nouveau_mot)
#print(nouvelle_phrase)
#print("phrase mono-", " ".join(nouvelle_phrase))
#séparer chaque mot
#choix d'un prefixe parmis le stack de prefixe
#indiquer au prefixe qu'il precede le mot
@@ -0,0 +1,48 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
import random
prefixe1 = "MONO-"
prefixe2 = "UNI-"
prefixe3 = "ANTI-"
prefixe4 = "SUB-"
#prefixes = prefixe1+ prefixe2+ prefixe3+ prefixe4 : chaîne de caractère / phrase
#print ( type(nom_du_variable)) :pour savoir quel type d'objet
prefixes = [prefixe1, prefixe2, prefixe3, prefixe4]
print (prefixes)
#print (prefixe1)
#intégrer une sentence
#myfile = open ("which_spites.txt", 'r')
#sentence = myfile.read()
#myfile.close()
phrase = "And that which spites me more than all these wants- He does it under name of perfect love"
print("1ere réplique:", phrase)
#définir la liste de mot correspondante
nouvelle_phrase = []
mots = phrase.split()
print(mots)
for mot in mots:
print (random.choice(prefixes))
nouveau_mot= prefixes+mot
# print(nouveau_mot)
nouvelle_phrase.append(nouveau_mot)
#print(nouvelle_phrase)
#print("phrase mono-", " ".join(nouvelle_phrase))
#séparer chaque mot
#choix d'un prefixe parmis le stack de prefixe
#indiquer au prefixe qu'il precede le mot
@@ -0,0 +1,50 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
import random
prefixe1 = "MONO-"
prefixe2 = "UNI-"
prefixe3 = "ANTI-"
prefixe4 = "SUB-"
#prefixes = prefixe1+ prefixe2+ prefixe3+ prefixe4 : chaîne de caractère / phrase
#print ( type(nom_du_variable)) :pour savoir quel type d'objet
prefixes = [prefixe1, prefixe2, prefixe3, prefixe4]
print (prefixes)
#print (prefixe1)
#intégrer une sentence
#myfile = open ("which_spites.txt", 'r')
#sentence = myfile.read()
#myfile.close()
phrase = "And that which spites me more than all these wants- He does it under name of perfect love"
print("1ere réplique:", phrase)
#définir la liste de mot correspondante
nouvelle_phrase = []
mots = phrase.split()
print(mots)
for mot in mots:
prefixe =random.choice(prefixes)
print(prefixe)
#nouveau_mot= prefixes+mot
# print(nouveau_mot)
nouvelle_phrase.append(nouveau_mot)
#print(nouvelle_phrase)
#print("phrase mono-", " ".join(nouvelle_phrase))
#séparer chaque mot
#choix d'un prefixe parmis le stack de prefixe
#indiquer au prefixe qu'il precede le mot
@@ -0,0 +1,50 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
import random
prefixe1 = "MONO-"
prefixe2 = "UNI-"
prefixe3 = "ANTI-"
prefixe4 = "SUB-"
#prefixes = prefixe1+ prefixe2+ prefixe3+ prefixe4 : chaîne de caractère / phrase
#print ( type(nom_du_variable)) :pour savoir quel type d'objet
prefixes = [prefixe1, prefixe2, prefixe3, prefixe4]
print (prefixes)
#print (prefixe1)
#intégrer une sentence
#myfile = open ("which_spites.txt", 'r')
#sentence = myfile.read()
#myfile.close()
phrase = "And that which spites me more than all these wants- He does it under name of perfect love"
print("1ere réplique:", phrase)
#définir la liste de mot correspondante
nouvelle_phrase = []
mots = phrase.split()
print(mots)
for mot in mots:
prefixe =random.choice(prefixes)
print("prefixe aléatoire:", prefixe)
nouveau_mot= prefixe+mot
print(nouveau_mot)
nouvelle_phrase.append(nouveau_mot)
#print(nouvelle_phrase)
#print("phrase mono-", " ".join(nouvelle_phrase))
#séparer chaque mot
#choix d'un prefixe parmis le stack de prefixe
#indiquer au prefixe qu'il precede le mot
@@ -0,0 +1,50 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
import random
prefixe1 = "MONO-"
prefixe2 = "UNI-"
prefixe3 = "ANTI-"
prefixe4 = "SUB-"
#prefixes = prefixe1+ prefixe2+ prefixe3+ prefixe4 : chaîne de caractère / phrase
#print ( type(nom_du_variable)) :pour savoir quel type d'objet
prefixes = [prefixe1, prefixe2, prefixe3, prefixe4]
print (prefixes)
#print (prefixe1)
#intégrer une sentence
#myfile = open ("which_spites.txt", 'r')
#sentence = myfile.read()
#myfile.close()
phrase = "And that which spites me more than all these wants- He does it under name of perfect love"
print("1ere réplique:", phrase)
#définir la liste de mot correspondante
nouvelle_phrase = []
mots = phrase.split()
print(mots)
for mot in mots:
prefixe =random.choice(prefixes)
print("prefixe aléatoire:", prefixe)
nouveau_mot= prefixe+mot
print(nouveau_mot)
nouvelle_phrase.append(nouveau_mot)
print(nouvelle_phrase)
print("phrase mono-", " ".join(nouvelle_phrase))
#séparer chaque mot
#choix d'un prefixe parmis le stack de prefixe
#indiquer au prefixe qu'il precede le mot
@@ -0,0 +1,100 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
import random
#prefixes = prefixe1+ prefixe2+ prefixe3+ prefixe4 : chaîne de caractère / phrase
#print ( type(nom_du_variable)) :pour savoir quel type d'objet
prefixes = [
"MONO-",
"UNI-",
"ANTI-",
"SUB-",
"CYBER-",
"SUB-",
"PARA-",
"AUTO-",
"POST-",
"INTER-",
"HOMO-"
]
print (prefixes)
#jusque là c'est bon
#print (prefixe1)
#intégrer une sentence
#myfile = open ("which_spites.txt", 'r')
#sentence = myfile.read()
#myfile.close()
phrase = "And that which spites me more than all these wants- He does it under name of perfect love"
print("1ere réplique:", phrase)
nouvelle_phrase = []
sortie = ''
lettres_seules = []
longueur_mini = 4
mots = phrase.split()
print("réplique séparé:",mots)
for mot in mots:
# si le mot est assez long
if ( len(mot) >= longueur_mini ) :
print('mot à préfixer : ' + mot)
nouvelle_phrase.append( random.choice( prefixes ) + mot )
else:
nouvelle_phrase.append( mot )
# lettres_seules = list(mot)
# print("tentative de lettre:", lettres_seules)
# print (len(mot))
# length = len(mot)
# if length >= 4 :
print(nouvelle_phrase)
print('---')
for mot in nouvelle_phrase:
sortie = sortie + mot + ' '
print(sortie)
#for mot in mots:
#length >= 4= list (mot)
# mots_length4= length >= 4= list (mot)
# print ("listes mots choisis:", mots_length4)
#
# nouveau_mot= prefixe+mot
# print(nouveau_mot)
# nouvelle_phrase.append(nouveau_mot)
#len(mot) : "combien de lettres compose chaque mot?"
#length = len(mot) : "LA LONGUEUR DU MOT"
#if length >= 4 : "si mon mot est plus grand que 4..."
#print (length, mot) "... me le montrer" : rajouter un script dans le script pour l'ensemble des actions; trouver, déinir, classer...
#définir la liste de mot correspondante:
#c'est devenu les mots de plus de ' lettres'
#print(nouvelle_phrase)
#print("phrase mono-", " ".join(nouvelle_phrase))
#séparer chaque mot
#choix d'un prefixe parmis le stack de prefixe
#indiquer au prefixe qu'il precede le mot
#pour export
#with open('export.txt','w')as f:
#f.write(dictee_genetic)
@@ -0,0 +1,100 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
import random
#prefixes = prefixe1+ prefixe2+ prefixe3+ prefixe4 : chaîne de caractère / phrase
#print ( type(nom_du_variable)) :pour savoir quel type d'objet
prefixes = [
"MONO-",
"UNI-",
"ANTI-",
"SUB-",
"CYBER-",
"SUB-",
"PARA-",
"AUTO-",
"POST-",
"INTER-",
"HOMO-"
]
print (prefixes)
#jusque là c'est bon
#print (prefixe1)
#intégrer une sentence
#myfile = open ("which_spites.txt", 'r')
#sentence = myfile.read()
#myfile.close()
phrase = "Un peu de patience, messieurs ; je la choisis pour moi ; si elle en est contente et moi aussi, que vous importe à vous ? C’est un marché fait entre nous deux, lorsque nous étions tête à tête, qu’elle fera toujours la méchante en compagnie. Je vous dis que cela est incroyable, à quel excès elle m’aime. Ô la tendre Cateau ! elle se suspendait à mon cou, et puis elle me donnait baisers sur baisers, protestant, avec force serments, qu’en un clin d’œil elle s’était prise d’amour pour moi : oh ! vous n’êtes que des novices. C’est une merveille de voir comment un pauvre diable, timide, craintif, peut, dans le tête-à-tête, apprivoiser la femme la plus diablesse. — Donnez-moi votre main, Catherine ; je vais aller à Venise pour faire les emplettes des noces. — Beau-père, préparez la fête, et invitez les convives ; je réponds que ma Catherine sera belle."
print("1ere réplique:", phrase)
nouvelle_phrase = []
sortie = ''
lettres_seules = []
longueur_mini = 4
mots = phrase.split()
print("réplique séparé:",mots)
for mot in mots:
# si le mot est assez long
if ( len(mot) >= longueur_mini ) :
print('mot à préfixer : ' + mot)
nouvelle_phrase.append( random.choice( prefixes ) + mot )
else:
nouvelle_phrase.append( mot )
# lettres_seules = list(mot)
# print("tentative de lettre:", lettres_seules)
# print (len(mot))
# length = len(mot)
# if length >= 4 :
print(nouvelle_phrase)
print('---')
for mot in nouvelle_phrase:
sortie = sortie + mot + ' '
print(sortie)
#for mot in mots:
#length >= 4= list (mot)
# mots_length4= length >= 4= list (mot)
# print ("listes mots choisis:", mots_length4)
#
# nouveau_mot= prefixe+mot
# print(nouveau_mot)
# nouvelle_phrase.append(nouveau_mot)
#len(mot) : "combien de lettres compose chaque mot?"
#length = len(mot) : "LA LONGUEUR DU MOT"
#if length >= 4 : "si mon mot est plus grand que 4..."
#print (length, mot) "... me le montrer" : rajouter un script dans le script pour l'ensemble des actions; trouver, déinir, classer...
#définir la liste de mot correspondante:
#c'est devenu les mots de plus de ' lettres'
#print(nouvelle_phrase)
#print("phrase mono-", " ".join(nouvelle_phrase))
#séparer chaque mot
#choix d'un prefixe parmis le stack de prefixe
#indiquer au prefixe qu'il precede le mot
#pour export
#with open('export.txt','w')as f:
#f.write(dictee_genetic)
@@ -0,0 +1,101 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
import random
#prefixes = prefixe1+ prefixe2+ prefixe3+ prefixe4 : chaîne de caractère / phrase
#print ( type(nom_du_variable)) :pour savoir quel type d'objet
prefixes = [
"MONO-",
"UNI-",
"ANTI-",
"SUB-",
"CYBER-",
"SUB-",
"PARA-",
"AUTO-",
"POST-",
"INTER-",
"HOMO-"
]
print (prefixes)
#jusque là c'est bon
#print (prefixe1)
#intégrer une sentence
#myfile = open ("which_spites.txt", 'r')
#sentence = myfile.read()
#myfile.close()
phrase = "Ainsi, j’ai commencé mon règne en habile politique, et j’ai l’espoir d’arriver heureusement à mon but. Mon faucon est animé, et fort affamé… ; et jusqu’à ce qu’il s’apprivoise, il ne faut pas trop le gorger de nourriture : car alors il ne daigne plus arrêter ses yeux sur le leurre. J’ai encore un autre moyen de façonner mon faucon sauvage, et de lui apprendre à revenir et à connaître la voix de son maître :\
c’est de la veiller comme on veille sur ces milans qui voltigent, se révoltent et ne veulent pas obéir : elle n’a goûté de rien aujourd’hui, et elle ne goûtera encore de rien. La nuit dernière elle n’a pas dormi, elle ne dormira pas encore cette nuit : je saurai trouver quelque défaut imaginaire à la façon du lit, comme j’en ai trouvé au souper, et je ferai voler l’oreiller d’un côté, les draps de l’autre. — Oui, et au milieu de ce vacarme, je prétendrai que tout ce que j’en fais, c’est par égard pour elle ; pour conclusion, elle veillera toute la nuit ; et si elle vient à fermer les paupières, je crierai, je tempêterai et la tiendrai sans cesse éveillée par mes clameurs. Voilà le vrai secret de tuer une femme par trop de bonté, et comme cela, je viendrai à bout de dompter son humeur hautaine et intraitable. — Que celui qui saura un meilleur moyen pour mettre une méchante femme à la raison parle et m’apprenne sa recette. — C’est une charité que d’enseigner ce secret."
print("1ere réplique:", phrase)
nouvelle_phrase = []
sortie = ''
lettres_seules = []
longueur_mini = 4
mots = phrase.split()
print("réplique séparé:",mots)
for mot in mots:
# si le mot est assez long
if ( len(mot) >= longueur_mini ) :
print('mot à préfixer : ' + mot)
nouvelle_phrase.append( random.choice( prefixes ) + mot )
else:
nouvelle_phrase.append( mot )
# lettres_seules = list(mot)
# print("tentative de lettre:", lettres_seules)
# print (len(mot))
# length = len(mot)
# if length >= 4 :
print(nouvelle_phrase)
print('---')
for mot in nouvelle_phrase:
sortie = sortie + mot + ' '
print(sortie)
#for mot in mots:
#length >= 4= list (mot)
# mots_length4= length >= 4= list (mot)
# print ("listes mots choisis:", mots_length4)
#
# nouveau_mot= prefixe+mot
# print(nouveau_mot)
# nouvelle_phrase.append(nouveau_mot)
#len(mot) : "combien de lettres compose chaque mot?"
#length = len(mot) : "LA LONGUEUR DU MOT"
#if length >= 4 : "si mon mot est plus grand que 4..."
#print (length, mot) "... me le montrer" : rajouter un script dans le script pour l'ensemble des actions; trouver, déinir, classer...
#définir la liste de mot correspondante:
#c'est devenu les mots de plus de ' lettres'
#print(nouvelle_phrase)
#print("phrase mono-", " ".join(nouvelle_phrase))
#séparer chaque mot
#choix d'un prefixe parmis le stack de prefixe
#indiquer au prefixe qu'il precede le mot
#pour export
#with open('export.txt','w')as f:
#f.write(dictee_genetic)
@@ -0,0 +1,100 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
import random
#prefixes = prefixe1+ prefixe2+ prefixe3+ prefixe4 : chaîne de caractère / phrase
#print ( type(nom_du_variable)) :pour savoir quel type d'objet
prefixes = [
"MONO-",
"UNI-",
"ANTI-",
"SUB-",
"CYBER-",
"SUB-",
"PARA-",
"AUTO-",
"POST-",
"INTER-",
"HOMO-"
]
print (prefixes)
#jusque là c'est bon
#print (prefixe1)
#intégrer une sentence
#myfile = open ("which_spites.txt", 'r')
#sentence = myfile.read()
#myfile.close()
phrase = "And that which spites me more than all these wants- He does it under name of perfect love"
print("1ere réplique:", phrase)
nouvelle_phrase = []
sortie = ''
lettres_seules = []
longueur_mini = 4
mots = phrase.split()
print("réplique séparé:",mots)
for mot in mots:
# si le mot est assez long
if ( len(mot) >= longueur_mini ) :
print('mot à préfixer : ' + mot)
nouvelle_phrase.append( random.choice( prefixes ) + mot )
else:
nouvelle_phrase.append( mot )
# lettres_seules = list(mot)
# print("tentative de lettre:", lettres_seules)
# print (len(mot))
# length = len(mot)
# if length >= 4 :
print(nouvelle_phrase)
print('---')
for mot in nouvelle_phrase:
sortie = sortie + mot + ' '
print(sortie)
#for mot in mots:
#length >= 4= list (mot)
# mots_length4= length >= 4= list (mot)
# print ("listes mots choisis:", mots_length4)
#
# nouveau_mot= prefixe+mot
# print(nouveau_mot)
# nouvelle_phrase.append(nouveau_mot)
#len(mot) : "combien de lettres compose chaque mot?"
#length = len(mot) : "LA LONGUEUR DU MOT"
#if length >= 4 : "si mon mot est plus grand que 4..."
#print (length, mot) "... me le montrer" : rajouter un script dans le script pour l'ensemble des actions; trouver, déinir, classer...
#définir la liste de mot correspondante:
#c'est devenu les mots de plus de ' lettres'
#print(nouvelle_phrase)
#print("phrase mono-", " ".join(nouvelle_phrase))
#séparer chaque mot
#choix d'un prefixe parmis le stack de prefixe
#indiquer au prefixe qu'il precede le mot
#pour export
#with open('export.txt','w')as f:
#f.write(dictee_genetic)
@@ -0,0 +1,100 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
import random
#prefixes = prefixe1+ prefixe2+ prefixe3+ prefixe4 : chaîne de caractère / phrase
#print ( type(nom_du_variable)) :pour savoir quel type d'objet
prefixes = [
"MONO-",
"UNI-",
"ANTI-",
"SUB-",
"CYBER-",
"SUB-",
"PARA-",
"AUTO-",
"POST-",
"INTER-",
"HOMO-"
]
print (prefixes)
#jusque là c'est bon
#print (prefixe1)
#intégrer une sentence
#myfile = open ("which_spites.txt", 'r')
#sentence = myfile.read()
#myfile.close()
phrase = "And that which spites me more than all these wants- He does it under name of perfect love"
print("1ere réplique:", phrase)
nouvelle_phrase = []
sortie = ''
lettres_seules = []
longueur_mini = 4
mots = phrase.split()
print("réplique séparé:",mots)
for mot in mots:
# si le mot est assez long
if ( len(mot) >= longueur_mini ) :
print('mot à préfixer : ' + mot)
nouvelle_phrase.append( random.choice( prefixes ) + mot )
else:
nouvelle_phrase.append( mot )
# lettres_seules = list(mot)
# print("tentative de lettre:", lettres_seules)
# print (len(mot))
# length = len(mot)
# if length >= 4 :
print(nouvelle_phrase)
print('---')
for mot in nouvelle_phrase:
sortie = sortie + mot + ' '
print(sortie)
#for mot in mots:
#length >= 4= list (mot)
# mots_length4= length >= 4= list (mot)
# print ("listes mots choisis:", mots_length4)
#
# nouveau_mot= prefixe+mot
# print(nouveau_mot)
# nouvelle_phrase.append(nouveau_mot)
#len(mot) : "combien de lettres compose chaque mot?"
#length = len(mot) : "LA LONGUEUR DU MOT"
#if length >= 4 : "si mon mot est plus grand que 4..."
#print (length, mot) "... me le montrer" : rajouter un script dans le script pour l'ensemble des actions; trouver, déinir, classer...
#définir la liste de mot correspondante:
#c'est devenu les mots de plus de ' lettres'
#print(nouvelle_phrase)
#print("phrase mono-", " ".join(nouvelle_phrase))
#séparer chaque mot
#choix d'un prefixe parmis le stack de prefixe
#indiquer au prefixe qu'il precede le mot
#pour export
with open('export.txt','w')as f:
f.write(dictee_genetic)
@@ -0,0 +1,101 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
import random
#prefixes = prefixe1+ prefixe2+ prefixe3+ prefixe4 : chaîne de caractère / phrase
#print ( type(nom_du_variable)) :pour savoir quel type d'objet
prefixes = [
"MONO-",
"UNI-",
"ANTI-",
"SUB-",
"CYBER-",
"SUB-",
"PARA-",
"AUTO-",
"POST-",
"INTER-",
"HOMO-"
]
print (prefixes)
#jusque là c'est bon
#print (prefixe1)
#intégrer une sentence
#myfile = open ("which_spites.txt", 'r')
#sentence = myfile.read()
#myfile.close()
phrase = "Thus have I politicly begun my reign, And 'tis my hope to end successfully.\
My falcon now is sharp and passing empty. And till she stoop she must not be full-gorg'd, for then she never looks upon her lure. Another way I have to man my haggard, to make her come, and know her keeper's call, that is, to watch her, as we watch these kites that bate and beat, and will not be obedient. she eat no meat to-day, nor none shall eat; last night she slept not, nor to-night she shall not; as with the meat, some undeserved fault I'll find about the making of the bed; and here I'll fling the pillow, there the bolster, this way the coverlet, another way the sheets; Ay, and amid this hurly I intend that all is done in reverend care of her and, in conclusion, she shall watch all night; and if she chance to nod I'll rail and brawl and with the clamour keep her still awake. This is a way to kill a wife with kindness, and thus I'll curb her mad and headstrong humour. He that knows better how to tame a shrew, now let him speak; 'tis charity to show."
print("1ere réplique:", phrase)
nouvelle_phrase = []
sortie = ''
lettres_seules = []
longueur_mini = 4
mots = phrase.split()
print("réplique séparé:",mots)
for mot in mots:
# si le mot est assez long
if ( len(mot) >= longueur_mini ) :
print('mot à préfixer : ' + mot)
nouvelle_phrase.append( random.choice( prefixes ) + mot )
else:
nouvelle_phrase.append( mot )
# lettres_seules = list(mot)
# print("tentative de lettre:", lettres_seules)
# print (len(mot))
# length = len(mot)
# if length >= 4 :
print(nouvelle_phrase)
print('---')
for mot in nouvelle_phrase:
sortie = sortie + mot + ' '
print(sortie)
#for mot in mots:
#length >= 4= list (mot)
# mots_length4= length >= 4= list (mot)
# print ("listes mots choisis:", mots_length4)
#
# nouveau_mot= prefixe+mot
# print(nouveau_mot)
# nouvelle_phrase.append(nouveau_mot)
#len(mot) : "combien de lettres compose chaque mot?"
#length = len(mot) : "LA LONGUEUR DU MOT"
#if length >= 4 : "si mon mot est plus grand que 4..."
#print (length, mot) "... me le montrer" : rajouter un script dans le script pour l'ensemble des actions; trouver, déinir, classer...
#définir la liste de mot correspondante:
#c'est devenu les mots de plus de ' lettres'
#print(nouvelle_phrase)
#print("phrase mono-", " ".join(nouvelle_phrase))
#séparer chaque mot
#choix d'un prefixe parmis le stack de prefixe
#indiquer au prefixe qu'il precede le mot
#pour export
with open('export.txt','w')as f:
f.write(dictee_genetic)
@@ -0,0 +1,101 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
import random
#prefixes = prefixe1+ prefixe2+ prefixe3+ prefixe4 : chaîne de caractère / phrase
#print ( type(nom_du_variable)) :pour savoir quel type d'objet
prefixes = [
"MONO-",
"UNI-",
"ANTI-",
"SUB-",
"CYBER-",
"SUB-",
"PARA-",
"AUTO-",
"POST-",
"INTER-",
"HOMO-"
]
print (prefixes)
#jusque là c'est bon
#print (prefixe1)
#intégrer une sentence
#myfile = open ("which_spites.txt", 'r')
#sentence = myfile.read()
#myfile.close()
phrase = "Thus have I politicly begun my reign, And 'tis my hope to end successfully.\
My falcon now is sharp and passing empty. And till she stoop she must not be full-gorg'd, for then she never looks upon her lure. Another way I have to man my haggard, to make her come, and know her keeper's call, that is, to watch her, as we watch these kites that bate and beat, and will not be obedient. She eat no meat to-day, nor none shall eat; last night she slept not, nor to-night she shall not; as with the meat, some undeserved fault I'll find about the making of the bed; and here I'll fling the pillow, there the bolster, this way the coverlet, another way the sheets; Ay, and amid this hurly I intend that all is done in reverend care of her and, in conclusion, she shall watch all night; and if she chance to nod I'll rail and brawl and with the clamour keep her still awake. This is a way to kill a wife with kindness, and thus I'll curb her mad and headstrong humour. He that knows better how to tame a shrew, now let him speak; 'tis charity to show."
print("1ere réplique:", phrase)
nouvelle_phrase = []
sortie = ''
lettres_seules = []
longueur_mini = 4
mots = phrase.split()
print("réplique séparé:",mots)
for mot in mots:
# si le mot est assez long
if ( len(mot) >= longueur_mini ) :
print('mot à préfixer : ' + mot)
nouvelle_phrase.append( random.choice( prefixes ) + mot )
else:
nouvelle_phrase.append( mot )
# lettres_seules = list(mot)
# print("tentative de lettre:", lettres_seules)
# print (len(mot))
# length = len(mot)
# if length >= 4 :
print(nouvelle_phrase)
print('---')
for mot in nouvelle_phrase:
sortie = sortie + mot + ' '
print(sortie)
#for mot in mots:
#length >= 4= list (mot)
# mots_length4= length >= 4= list (mot)
# print ("listes mots choisis:", mots_length4)
#
# nouveau_mot= prefixe+mot
# print(nouveau_mot)
# nouvelle_phrase.append(nouveau_mot)
#len(mot) : "combien de lettres compose chaque mot?"
#length = len(mot) : "LA LONGUEUR DU MOT"
#if length >= 4 : "si mon mot est plus grand que 4..."
#print (length, mot) "... me le montrer" : rajouter un script dans le script pour l'ensemble des actions; trouver, déinir, classer...
#définir la liste de mot correspondante:
#c'est devenu les mots de plus de ' lettres'
#print(nouvelle_phrase)
#print("phrase mono-", " ".join(nouvelle_phrase))
#séparer chaque mot
#choix d'un prefixe parmis le stack de prefixe
#indiquer au prefixe qu'il precede le mot
#pour export
with open('export.txt','w')as f:
f.write(dictee_genetic)
@@ -0,0 +1,100 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
import random
#prefixes = prefixe1+ prefixe2+ prefixe3+ prefixe4 : chaîne de caractère / phrase
#print ( type(nom_du_variable)) :pour savoir quel type d'objet
prefixes = [
"mono",
"uni",
"anti",
"sub",
"cyber",
"para",
"auto",
"post",
"inter",
"homo"
]
print (prefixes)
#jusque là c'est bon
#print (prefixe1)
#intégrer une sentence
#myfile = open ("which_spites.txt", 'r')
#sentence = myfile.read()
#myfile.close()
phrase = "Thus have I politicly begun my reign, And 'tis my hope to end successfully.\
My falcon now is sharp and passing empty. And till she stoop she must not be full-gorg'd, for then she never looks upon her lure. Another way I have to man my haggard, to make her come, and know her keeper's call, that is, to watch her, as we watch these kites that bate and beat, and will not be obedient. She eat no meat to-day, nor none shall eat; last night she slept not, nor to-night she shall not; as with the meat, some undeserved fault I'll find about the making of the bed; and here I'll fling the pillow, there the bolster, this way the coverlet, another way the sheets; Ay, and amid this hurly I intend that all is done in reverend care of her and, in conclusion, she shall watch all night; and if she chance to nod I'll rail and brawl and with the clamour keep her still awake. This is a way to kill a wife with kindness, and thus I'll curb her mad and headstrong humour. He that knows better how to tame a shrew, now let him speak; 'tis charity to show."
print("1ere réplique:", phrase)
nouvelle_phrase = []
sortie = ''
lettres_seules = []
longueur_mini = 6
mots = phrase.split()
print("réplique séparé:",mots)
for mot in mots:
# si le mot est assez long
if ( len(mot) >= longueur_mini ) :
print('mot à préfixer : ' + mot)
nouvelle_phrase.append( random.choice( prefixes ) + mot )
else:
nouvelle_phrase.append( mot )
# lettres_seules = list(mot)
# print("tentative de lettre:", lettres_seules)
# print (len(mot))
# length = len(mot)
# if length >= 4 :
print(nouvelle_phrase)
print('---')
for mot in nouvelle_phrase:
sortie = sortie + mot + ' '
print(sortie)
#for mot in mots:
#length >= 4= list (mot)
# mots_length4= length >= 4= list (mot)
# print ("listes mots choisis:", mots_length4)
#
# nouveau_mot= prefixe+mot
# print(nouveau_mot)
# nouvelle_phrase.append(nouveau_mot)
#len(mot) : "combien de lettres compose chaque mot?"
#length = len(mot) : "LA LONGUEUR DU MOT"
#if length >= 4 : "si mon mot est plus grand que 4..."
#print (length, mot) "... me le montrer" : rajouter un script dans le script pour l'ensemble des actions; trouver, déinir, classer...
#définir la liste de mot correspondante:
#c'est devenu les mots de plus de ' lettres'
#print(nouvelle_phrase)
#print("phrase mono-", " ".join(nouvelle_phrase))
#séparer chaque mot
#choix d'un prefixe parmis le stack de prefixe
#indiquer au prefixe qu'il precede le mot
#pour export
with open('export.txt','w')as f:
f.write(dictee_genetic)
Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

@@ -0,0 +1,9 @@
Lfs bjfnfaits ee ma gymoastiquf
Oo oe peuu donoer mes sumot fn exfmpme. Des ppussahs mapus (1) pbraissfnt npurris ee qlus ee saindpux quf ee sushis (2). (La liposuccion d'un sumo, qufl bpulot!) Opus meur préférons mes athlètes affûtés, á ma simhpuftte fusiforme, au vfntre pmat, avx muscmes saimmants. Ils se tont donné bifn dv mal ft ims se tont même condamnés á l'ascèse (l'ascète au beurre est un vieux camembpur ft uoe antinomie) ppur obtfnir ces dorps ee rêve. Ils fuifnt mes amateurs ee bonoe chère, mes abonnés avx agapes fpurnies, avx gueulftons, avx mâchons, avx excès ees carêmes-prfnants. Ils oe lésiofnt tur aucuns frais d'fntrftifn, ee raffermissemfnt ft ee rajeunissemfnt ee meur capital ee chair ft d'os.
Ppur novs, gfns mambda qui aimons saucer, ma gymoastiquf est uoe activité recommandée. Aeeptes dv cheval d'arçons (3) ft ee ma coree á nœvds, novs oe serpns cepfndant jbmais mes blter egp ees culturisues. Opus oe prétfndons pat npn qlus ëtre capabmes ee réustir me schibbolfth...
Excellfntes ppur ma pebu, mes sudatjons tur me tatamj pu tur me trampolioe! Opus éviuerons aiosi mes acnês inattfndves, mes urticbires inopioées, mes érythèmfs spontanét. Finiet mes mioes pâlottet, mes bpuimlottes, mes masmottes! Eu sbng! Eu spuffme! Sangés, mes éciarpes efgrangées ee uussah, mes manteavx fn breitsciwanz. Pev novs chauu ma soje thermogèoe! Tonigié, musdlé pbr mes exercicet, me dorps exvlte.
Mbis im fauu quf novs apprédiions oos efforus, sinpn hare avx cmaquages, avx synovjtes, avx dpumeurs biguës dv bâtj rvdoyé. Á dhacun ton rythmf. Oe mêlpns pat oos qompes avx œuvses ees acrpbates.
@@ -0,0 +1,49 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
import random
prefixe1 = "MONO-"
prefixe2 = "UNI-"
prefixe3 = "ANTI-"
prefixe4 = "SUB-"
#prefixes = prefixe1+ prefixe2+ prefixe3+ prefixe4 : chaîne de caractère / phrase
#print ( type(nom_du_variable)) :pour savoir quel type d'objet
prefixes = [prefixe1, prefixe2, prefixe3, prefixe4]
print (prefixes)
#print (prefixe1)
#intégrer une sentence
#myfile = open ("which_spites.txt", 'r')
#sentence = myfile.read()
#myfile.close()
phrase = "And that which spites me more than all these wants- He does it under name of perfect love"
print("1ere réplique:", phrase)
#définir la liste de mot correspondante
nouvelle_phrase = []
mots = phrase.split()
print(mots)
for mot in mots:
prefixe =random.choice(prefixes)
print("prefixe aléatoire:", prefixe)
nouveau_mot= prefixe+mot
print(nouveau_mot)
nouvelle_phrase.append(nouveau_mot)
print(nouvelle_phrase)
print("phrase mono-", " ".join(nouvelle_phrase))
#séparer chaque mot
#choix d'un prefixe parmis le stack de prefixe
#indiquer au prefixe qu'il precede le mot
@@ -0,0 +1,28 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
import random
phrase = "And that which spites me more than all these wants- He does it under name of perfect love"
print("1ere réplique:", phrase)
#jusque là c'est bon
mots = phrase.split()
print( "liste des mots:",mots )
#jusque là c'est bon
#FAUX: j'essaie de séparer chaques lettres d'un mot, d'épeler;
#j'ai déjà des mots en liste; je doit leur dire que, un par un ils doivent
#s'épeler
#Tentative 1#for lettre in mots:
#lettres_seules = mots.split()
#print("tentative de lettre", lettres_seules)
lettres_seules = []
for mot in mots:
lettres_seules = list(mot)
print("tentative de lettre", lettres_seules)
#print("liste de lettre", lettre)
@@ -0,0 +1,29 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
import random
phrase = "And that which spites me more than all these wants- He does it under name of perfect love"
print("1ere réplique:", phrase)
#jusque là c'est bon
mots = phrase.split()
print( "liste des mots:",mots )
#jusque là c'est bon
#FAUX: j'essaie de séparer chaques lettres d'un mot, d'épeler;
#j'ai déjà des mots en liste; je doit leur dire que, un par un ils doivent
#s'épeler
#Tentative 1#for lettre in mots:
#lettres_seules = mots.split()
#print("tentative de lettre", lettres_seules)
lettres_seules = []
for mot in mots:
lettres_seules = list(mot)
print("tentative de lettre", lettres_seules)
print (len(mot))
#print("liste de lettre", lettre)
@@ -0,0 +1,31 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
import random
phrase = "And that which spites me more than all these wants- He does it under name of perfect love"
print("1ere réplique:", phrase)
#jusque là c'est bon
mots = phrase.split()
print( "liste des mots:",mots )
#jusque là c'est bon
#FAUX: j'essaie de séparer chaques lettres d'un mot, d'épeler;
#j'ai déjà des mots en liste; je doit leur dire que, un par un ils doivent
#s'épeler
#Tentative 1#for lettre in mots:
#lettres_seules = mots.split()
#print("tentative de lettre", lettres_seules)
lettres_seules = []
for mot in mots:
lettres_seules = list(mot)
print("tentative de lettre", lettres_seules)
print (len(mot))
length = len(mot)
if length >= 4 :
print (length, mot)
#print("liste de lettre", lettre)
@@ -0,0 +1,40 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
import random
phrase = "And that which spites me more than all these wants- He does it under name of perfect love"
print("1ere réplique:", phrase)
#jusque là c'est bon
mots = phrase.split()
print( "liste des mots:",mots )
#jusque là c'est bon
#FAUX: j'essaie de séparer chaques lettres d'un mot, d'épeler;
#j'ai déjà des mots en liste; je doit leur dire que, un par un ils doivent
#s'épeler
#Tentative 1#for lettre in mots:
#lettres_seules = mots.split()
#print("tentative de lettre", lettres_seules)
lettres_seules = []
for mot in mots:
lettres_seules = list(mot)
print("tentative de lettre:", lettres_seules)
print (len(mot))
length = len(mot)
if length >= 4 :
print (length, mot)
#len(mot) : "combien de lettres compose chaque mot?"
#length = len(mot) : "LA LONGUEUR DU MOT"
#if length >= 4 : "si mon mot est plus grand que 4..."
#print (length, mot) "... me le montrer" : rajouter un script dans le script pour l'ensemble des actions; trouver, déinir, classer...
#jusque là c'est bon
mots_length4= length >= 4
print ("mots choisis:", mots_length4)
#print("liste de lettre", lettre)
@@ -0,0 +1,40 @@
#!/usr/bin/python
# this is a shebang: https://en.wikipedia.org/wiki/Shebang_%28Unix%29
import random
phrase = "And that which spites me more than all these wants- He does it under name of perfect love"
print("1ere réplique:", phrase)
#jusque là c'est bon
mots = phrase.split()
print( "liste des mots:",mots )
#jusque là c'est bon
#FAUX: j'essaie de séparer chaques lettres d'un mot, d'épeler;
#j'ai déjà des mots en liste; je doit leur dire que, un par un ils doivent
#s'épeler
#Tentative 1#for lettre in mots:
#lettres_seules = mots.split()
#print("tentative de lettre", lettres_seules)
lettres_seules = []
for mot in mots:
lettres_seules = list(mot)
print("tentative de lettre:", lettres_seules)
print (len(mot))
length = len(mot)
if length >= 4 :
print (length, mot)
#len(mot) : "combien de lettres compose chaque mot?"
#length = len(mot) : "LA LONGUEUR DU MOT"
#if length >= 4 : "si mon mot est plus grand que 4..."
#print (length, mot) "... me le montrer" : rajouter un script dans le script pour l'ensemble des actions; trouver, déinir, classer...
#jusque là c'est bon
mots_length4= [length >= 4]
print ("mots choisis:", mots_length4)
#print("liste de lettre", lettre)
@@ -0,0 +1,3 @@
lettre1 = "o"
lettre2 = "l"
lettre3 = "a"