User:Clara: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 615: Line 615:
</source>
</source>


'''here is a part of the output
'''here is a part of the output'''
'''<br>
<br>
<br>
<br>
<span style="color: grey;">[circle the right punctuation ?/!]</span>/ <span style="color: grey;">[circle the right punctuation ?/!]</span><br><br>Nina Power<br><br>Part 1: <span style="color: grey;">[circle the right punctuation ?/!]</span><br><br>“[T]he entire thrust of the LTI The Langue of the Third Reich was towards visualisation<span style="color: grey;">[circle the right punctuation ,/.]</span>and if this process of visualizing could be achieved with recourse to Germanic traditions<span style="color: grey;">[circle the right punctuation ,/.]</span>by means of a runic sign<span style="color: grey;">[circle the right punctuation ,/.]</span>then so much the better<span style="color: grey;">[circle the right punctuation ,/.]</span>And as a jagged character the rune of life was related to the SS symbol<span style="color: grey;">[circle the right punctuation ,/.]</span>and as an ideological symbol also related to the spokes of the wheel of the sun<span style="color: grey;">[circle the right punctuation ,/.]</span>the swastika <span style="color: grey;">[circle the right punctuation ;/…]</span>Renan’s position: the question mark – the most important of all punctuation marks<span style="color: grey;">[circle the right punctuation ,/.]</span>A position in direct opposition to National Socialist intransigence and self-confidence <span style="color: grey;">[circle the right punctuation ;/…]</span>
<span style="color: grey;">[circle the right punctuation ?/!]</span>/ <span style="color: grey;">[circle the right punctuation ?/!]</span><br><br>Nina Power<br><br>Part 1: <span style="color: grey;">[circle the right punctuation ?/!]</span><br><br>“[T]he entire thrust of the LTI The Langue of the Third Reich was towards visualisation<span style="color: grey;">[circle the right punctuation ,/.]</span>and if this process of visualizing could be achieved with recourse to Germanic traditions<span style="color: grey;">[circle the right punctuation ,/.]</span>by means of a runic sign<span style="color: grey;">[circle the right punctuation ,/.]</span>then so much the better<span style="color: grey;">[circle the right punctuation ,/.]</span>And as a jagged character the rune of life was related to the SS symbol<span style="color: grey;">[circle the right punctuation ,/.]</span>and as an ideological symbol also related to the spokes of the wheel of the sun<span style="color: grey;">[circle the right punctuation ,/.]</span>the swastika <span style="color: grey;">[circle the right punctuation ;/…]</span>Renan’s position: the question mark – the most important of all punctuation marks<span style="color: grey;">[circle the right punctuation ,/.]</span>A position in direct opposition to National Socialist intransigence and self-confidence <span style="color: grey;">[circle the right punctuation ;/…]</span>
<br>
<br>
<br>
<br>
here is another replace I used, it's very straight forward and basically randomly picks a replacement for punctuation within the text.
'''here is another replace I used, it's very straight forward and basically randomly picks a replacement for punctuation within the text.'''
<source lang="python">
<source lang="python">
txt = open('txt/!?_test.txt', 'r').read()
txt = open('txt/!?_test.txt', 'r').read()

Revision as of 15:47, 5 December 2020

♘♙♜♝♟♖  ♜ ♖♖♚♝♛♛♔♟♖♕
♛♙♗ ♖♜ ♗♟♛♟♜♟♗♛♕ ♘♜♕
♕♝♘♔ ♙ ♞♖♚♙ ♞♔♟♕♞♞♖ 
♗♛♖♞♔♘♟♞ ♜♚♜♘♞♝♙♙♘♔♙
♖ ♚♚♞♞♕♜♝  ♞♙♚♚♟♜♗♔♙
♚ ♟♕♛ ♙♛♗ ♜♖♕♛♔♜ ♘♗ 
♖♞ ♚ ♛♛♞♗♙ ♗ ♗♜ ♛♗♜♗
♞♚♕ ♗♞♚♛♝♙ ♖♙♕♛♜♞  ♗
♛ ♘ ♚♛♗♚ ♗♘♕♗♗  ♔♙♙♞
♝♘ ♘♗♙♖♜♗ ♝♞ ♝♖  ♗ ♞

XPUB1 Sept-Dec

Random definition generator

Working with what we learned with the "house of dust" notebook I created something relevant for me. This was a random definition generator inspired by a publication I made during my internship with Print the future.

word = ("man", "woman", "human")
french = ("homme", "femme")
category = ("gender", "sex")
definition = ("defined", "created", "perceived", "judged", "constructed", "characterized")
term = ("masculine", "feminine")

import random

w = random.choice(word)
f = random.choice(french)
c = random.choice(category)
t = random.choice(term)

for x in range (10):
    w = random.choice(word)
    f = random.choice(french)
    c = random.choice(category)
    d = random.choice(definition)
    t = random.choice(term)
    print(f"definition of: {w}, a {t} word")
    print(f"\t      (en francais {f})")
    print(f"\t       One that is {d} by their {c}")
    print()

One variation of the print output

definition of: man, a masculine word
	      (en francais homme)
	       One that is judged by their sex

definition of: human, a feminine word
	      (en francais homme)
	       One that is characterized by their gender

definition of: woman, a masculine word
	      (en francais femme)
	       One that is characterized by their gender

definition of: human, a feminine word
	      (en francais homme)
	       One that is perceived by their gender

definition of: man, a feminine word
	      (en francais homme)
	       One that is perceived by their sex

definition of: woman, a masculine word
	      (en francais femme)
	       One that is constructed by their gender

definition of: man, a feminine word
	      (en francais femme)
	       One that is created by their gender

definition of: woman, a feminine word
	      (en francais femme)
	       One that is characterized by their sex

definition of: woman, a feminine word
	      (en francais femme)
	       One that is judged by their sex

definition of: human, a feminine word
	      (en francais homme)
	       One that is perceived by their sex

Experimenting with patches

For multiple sessions we worked on making patches with different notebooks and here are a few I made.


Using skills from random generator + controlling format of print outputs

I first generated some variation of ascii emojis and sentence structure

eyes = ' ̄', '゜'
mouth = 'o', '-'
text1 = 'do you see me?', '...you see me?', 'yeah i see you'
text2 = 'do you see me?', '...you see me?', 'yeah i see you'
text3 = 'do you see me?', '...you see me?', 'yeah i see you'

import random

width = 82

for x in range (height):
    e = random.choice(eyes)
    m = random.choice(mouth)
    t = random.choice(text1)
    tt = random.choice(text2)
    ttt = random.choice(text3)
    
    print(f"(ノ{e}{m}{e})ノ{t}.{tt}({e}{m}{e}){ttt}ノ({e}{m}{e}ノ){t}")

print output

(ノ゜o゜)ノdo you see me?....you see me?(゜o゜)do you see me?ノ(゜o゜ノ)do you see me?
(ノ゜o゜)ノyeah i see you....you see me?(゜o゜)do you see me?ノ(゜o゜ノ)yeah i see you
(ノ ̄o ̄)ノ...you see me?.do you see me?( ̄o ̄)...you see me?ノ( ̄o ̄ノ)...you see me?
(ノ ̄o ̄)ノdo you see me?.do you see me?( ̄o ̄)do you see me?ノ( ̄o ̄ノ)do you see me?
(ノ ̄- ̄)ノdo you see me?.do you see me?( ̄- ̄)...you see me?ノ( ̄- ̄ノ)do you see me?
(ノ ̄- ̄)ノ...you see me?.do you see me?( ̄- ̄)...you see me?ノ( ̄- ̄ノ)...you see me?
(ノ ̄- ̄)ノyeah i see you.do you see me?( ̄- ̄)yeah i see youノ( ̄- ̄ノ)yeah i see you
(ノ゜-゜)ノyeah i see you.do you see me?(゜-゜)yeah i see youノ(゜-゜ノ)yeah i see you
(ノ゜o゜)ノ...you see me?.yeah i see you(゜o゜)do you see me?ノ(゜o゜ノ)...you see me?
(ノ ̄o ̄)ノdo you see me?....you see me?( ̄o ̄)do you see me?ノ( ̄o ̄ノ)do you see me?

Then I picked some sentences and used them as variables for another generator that would be controlling the print output format

sentence = '(ノ ̄o ̄)ノyou see me?....yeah i see you( ̄o ̄)do you see me?ノ( ̄o ̄ノ)yeah i see you'
response = '(ノ゜-゜)ノyeah i see you....you see me?'
asking = '(゜-゜)...you see me?ノ(゜-゜ノ)yeah i see you'
content = ''
height = 74
width = 82
liste = []

for x in range(100):
    content += sentence
    content += ' ' * x
    content += response
    content += asking
    content += ' ' * x
    
tmp_line = ''

count = 0
#print(content)

for character in content:
    #print(character)
    if len(tmp_line) < width:
        tmp_line += character
    else: 
        #print(count)
        liste.append(tmp_line)
        #print(tmp_line)
        tmp_line = ''
        count += 1
        if count == height:
            break


patch = '\n'.join(liste)
print(patch)

print output

(ノ ̄o ̄)ノyou see me?....yeah i see you( ̄o ̄)do you see me?ノ( ̄o ̄ノ)yeah i see you(ノ゜-゜)
yeah i see you....you see me?(゜-゜)...you see me?ノ(゜-゜ノ)yeah i see you(ノ ̄o ̄)ノyou se
 me?....yeah i see you( ̄o ̄)do you see me?ノ( ̄o ̄ノ)yeah i see you (ノ゜-゜)ノyeah i see y
u....you see me?(゜-゜)...you see me?ノ(゜-゜ノ)yeah i see you (ノ ̄o ̄)ノyou see me?....yea
 i see you( ̄o ̄)do you see me?ノ( ̄o ̄ノ)yeah i see you  (ノ゜-゜)ノyeah i see you....you s
e me?(゜-゜)...you see me?ノ(゜-゜ノ)yeah i see you  (ノ ̄o ̄)ノyou see me?....yeah i see yo
( ̄o ̄)do you see me?ノ( ̄o ̄ノ)yeah i see you   (ノ゜-゜)ノyeah i see you....you see me?(゜-
)...you see me?ノ(゜-゜ノ)yeah i see you   (ノ ̄o ̄)ノyou see me?....yeah i see you( ̄o ̄)do
you see me?ノ( ̄o ̄ノ)yeah i see you    (ノ゜-゜)ノyeah i see you....you see me?(゜-゜)...yo
 see me?ノ(゜-゜ノ)yeah i see you    (ノ ̄o ̄)ノyou see me?....yeah i see you( ̄o ̄)do you s
e me?ノ( ̄o ̄ノ)yeah i see you     (ノ゜-゜)ノyeah i see you....you see me?(゜-゜)...you see
me?ノ(゜-゜ノ)yeah i see you     (ノ ̄o ̄)ノyou see me?....yeah i see you( ̄o ̄)do you see m
?ノ( ̄o ̄ノ)yeah i see you      (ノ゜-゜)ノyeah i see you....you see me?(゜-゜)...you see me
ノ(゜-゜ノ)yeah i see you      (ノ ̄o ̄)ノyou see me?....yeah i see you( ̄o ̄)do you see me?
( ̄o ̄ノ)yeah i see you       (ノ゜-゜)ノyeah i see you....you see me?(゜-゜)...you see me?
(゜-゜ノ)yeah i see you       (ノ ̄o ̄)ノyou see me?....yeah i see you( ̄o ̄)do you see me?
( ̄o ̄ノ)yeah i see you        (ノ゜-゜)ノyeah i see you....you see me?(゜-゜)...you see me
ノ(゜-゜ノ)yeah i see you        (ノ ̄o ̄)ノyou see me?....yeah i see you( ̄o ̄)do you see m
?ノ( ̄o ̄ノ)yeah i see you         (ノ゜-゜)ノyeah i see you....you see me?(゜-゜)...you see
me?ノ(゜-゜ノ)yeah i see you         (ノ ̄o ̄)ノyou see me?....yeah i see you( ̄o ̄)do you s
e me?ノ( ̄o ̄ノ)yeah i see you          (ノ゜-゜)ノyeah i see you....you see me?(゜-゜)...yo
 see me?ノ(゜-゜ノ)yeah i see you          (ノ ̄o ̄)ノyou see me?....yeah i see you( ̄o ̄)do
you see me?ノ( ̄o ̄ノ)yeah i see you           (ノ゜-゜)ノyeah i see you....you see me?(゜-
)...you see me?ノ(゜-゜ノ)yeah i see you           (ノ ̄o ̄)ノyou see me?....yeah i see yo
( ̄o ̄)do you see me?ノ( ̄o ̄ノ)yeah i see you            (ノ゜-゜)ノyeah i see you....you s
e me?(゜-゜)...you see me?ノ(゜-゜ノ)yeah i see you            (ノ ̄o ̄)ノyou see me?....yea
 i see you( ̄o ̄)do you see me?ノ( ̄o ̄ノ)yeah i see you             (ノ゜-゜)ノyeah i see y
u....you see me?(゜-゜)...you see me?ノ(゜-゜ノ)yeah i see you             (ノ ̄o ̄)ノyou se
 me?....yeah i see you( ̄o ̄)do you see me?ノ( ̄o ̄ノ)yeah i see you              (ノ゜-゜)
yeah i see you....you see me?(゜-゜)...you see me?ノ(゜-゜ノ)yeah i see you             
(ノ ̄o ̄)ノyou see me?....yeah i see you( ̄o ̄)do you see me?ノ( ̄o ̄ノ)yeah i see you      
        (ノ゜-゜)ノyeah i see you....you see me?(゜-゜)...you see me?ノ(゜-゜ノ)yeah i see y
u               (ノ ̄o ̄)ノyou see me?....yeah i see you( ̄o ̄)do you see me?ノ( ̄o ̄ノ)yeah
i see you                (ノ゜-゜)ノyeah i see you....you see me?(゜-゜)...you see me?ノ(
-゜ノ)yeah i see you                (ノ ̄o ̄)ノyou see me?....yeah i see you( ̄o ̄)do you 
ee me?ノ( ̄o ̄ノ)yeah i see you                 (ノ゜-゜)ノyeah i see you....you see me?(゜
゜)...you see me?ノ(゜-゜ノ)yeah i see you                 (ノ ̄o ̄)ノyou see me?....yeah i
see you( ̄o ̄)do you see me?ノ( ̄o ̄ノ)yeah i see you                  (ノ゜-゜)ノyeah i see
you....you see me?(゜-゜)...you see me?ノ(゜-゜ノ)yeah i see you                  (ノ ̄o ̄)
you see me?....yeah i see you( ̄o ̄)do you see me?ノ( ̄o ̄ノ)yeah i see you             
     (ノ゜-゜)ノyeah i see you....you see me?(゜-゜)...you see me?ノ(゜-゜ノ)yeah i see you 
                 (ノ ̄o ̄)ノyou see me?....yeah i see you( ̄o ̄)do you see me?ノ( ̄o ̄ノ)yea
 i see you                    (ノ゜-゜)ノyeah i see you....you see me?(゜-゜)...you see 
e?ノ(゜-゜ノ)yeah i see you                    (ノ ̄o ̄)ノyou see me?....yeah i see you( ̄o
)do you see me?ノ( ̄o ̄ノ)yeah i see you                     (ノ゜-゜)ノyeah i see you....
ou see me?(゜-゜)...you see me?ノ(゜-゜ノ)yeah i see you                     (ノ ̄o ̄)ノyou 
ee me?....yeah i see you( ̄o ̄)do you see me?ノ( ̄o ̄ノ)yeah i see you                  
   (ノ゜-゜)ノyeah i see you....you see me?(゜-゜)...you see me?ノ(゜-゜ノ)yeah i see you   
                  (ノ ̄o ̄)ノyou see me?....yeah i see you( ̄o ̄)do you see me?ノ( ̄o ̄ノ)ye
h i see you                       (ノ゜-゜)ノyeah i see you....you see me?(゜-゜)...you 
ee me?ノ(゜-゜ノ)yeah i see you                       (ノ ̄o ̄)ノyou see me?....yeah i see
you( ̄o ̄)do you see me?ノ( ̄o ̄ノ)yeah i see you                        (ノ゜-゜)ノyeah i s
e you....you see me?(゜-゜)...you see me?ノ(゜-゜ノ)yeah i see you                      
 (ノ ̄o ̄)ノyou see me?....yeah i see you( ̄o ̄)do you see me?ノ( ̄o ̄ノ)yeah i see you     
                   (ノ゜-゜)ノyeah i see you....you see me?(゜-゜)...you see me?ノ(゜-゜ノ)y
ah i see you                         (ノ ̄o ̄)ノyou see me?....yeah i see you( ̄o ̄)do y
u see me?ノ( ̄o ̄ノ)yeah i see you                          (ノ゜-゜)ノyeah i see you....y
u see me?(゜-゜)...you see me?ノ(゜-゜ノ)yeah i see you                          (ノ ̄o ̄)ノ
ou see me?....yeah i see you( ̄o ̄)do you see me?ノ( ̄o ̄ノ)yeah i see you              
            (ノ゜-゜)ノyeah i see you....you see me?(゜-゜)...you see me?ノ(゜-゜ノ)yeah i s
e you                           (ノ ̄o ̄)ノyou see me?....yeah i see you( ̄o ̄)do you se
 me?ノ( ̄o ̄ノ)yeah i see you                            (ノ゜-゜)ノyeah i see you....you 
ee me?(゜-゜)...you see me?ノ(゜-゜ノ)yeah i see you                            (ノ ̄o ̄)ノy
u see me?....yeah i see you( ̄o ̄)do you see me?ノ( ̄o ̄ノ)yeah i see you               
             (ノ゜-゜)ノyeah i see you....you see me?(゜-゜)...you see me?ノ(゜-゜ノ)yeah i 
ee you                             (ノ ̄o ̄)ノyou see me?....yeah i see you( ̄o ̄)do you
see me?ノ( ̄o ̄ノ)yeah i see you                              (ノ゜-゜)ノyeah i see you...
you see me?(゜-゜)...you see me?ノ(゜-゜ノ)yeah i see you                              (
 ̄o ̄)ノyou see me?....yeah i see you( ̄o ̄)do you see me?ノ( ̄o ̄ノ)yeah i see you        
                      (ノ゜-゜)ノyeah i see you....you see me?(゜-゜)...you see me?ノ(゜-゜
)yeah i see you                               (ノ ̄o ̄)ノyou see me?....yeah i see you
 ̄o ̄)do you see me?ノ( ̄o ̄ノ)yeah i see you                                (ノ゜-゜)ノyeah
i see you....you see me?(゜-゜)...you see me?ノ(゜-゜ノ)yeah i see you                  
             (ノ ̄o ̄)ノyou see me?....yeah i see you( ̄o ̄)do you see me?ノ( ̄o ̄ノ)yeah i 


Manually making patches

I also tried to make my own patches by hand using the text '?!' from Words of the Future I was working on as inspiration.

..................................................................................
. |   $   ^   /   (   L   *                    |                    |            .
. .   .   .   .   .   .   .   A Rigged Election.   A Rigged Election.   A Rigged .
.                                                                                .
.   W   0   "   S   }   V   @         $                    $                    $.
.   .   .   .   .   .   .   . Election.   A Rigged Election.   A Rigged Election..
.                                                                                .
. #   F   =   :   +   <   \                    ^                    ^            .
. .   .   .   .   .   .   .   A Rigged Election.   A Rigged Election.   A Rigged . 
.                                                                                .
.   [   1   T   |   $   ^   /         /                    /                    /.
.   .   .   .   .   .   .   . Election.   A Rigged Election.   A Rigged Election..
.                                                                                .
. (   L   *   W   0   "   S                    (                    (            .
. .   .   .   .   .   .   .   A Rigged Election.   A Rigged Election.   A Rigged .
.                                                                                .
.   }   V   @   #   F   =   :         L                    L                    L.
.   .   .   .   .   .   .   . Election.   A Rigged Election.   A Rigged Election..
.                                                                                .
. +   <   \   [   1   T   |                    *                    *            .
. .   .   .   .   .   .   .   A Rigged Election.   A Rigged Election.   A Rigged .
.                                                                                .
.   $   ^   /   (   L   *   W         W                    W                    W.
.   .   .   .   .   .   .   . Election.   A Rigged Election.   A Rigged Election..
.                                                                                .
. 0   "   S   }   V   @   #                    0                    0            .
. .   .   .   .   .   .   .   A Rigged Election.   A Rigged Election.   A Rigged .
.                                                                                .
.   F   =   :   +   <   \   [         "                    "                    ".
.   .   .   .   .   .   .   . Election.   A Rigged Election.   A Rigged Election..
.                                                                                .
. 1   T   |   $   ^   /   (                    S                    S            .
. .   .   .   .   .   .   .   A Rigged Election.   A Rigged Election.   A Rigged .
.                                                                                .
.   L   *   W   0   "   S   }         }                    }                    }.
.   .   .   .   .   .   .   . Election.   A Rigged Election.   A Rigged Election..
.                                                                                .
. V   @   #   F   =   :   +                    V                    V            .
. .   .   .   .   .   .   .   A Rigged Election.   A Rigged Election.   A Rigged .
.                                                                                .
.   <   \   [   1   T   |   $         @                    @                    @.
.   .   .   .   .   .   .   . Election.   A Rigged Election.   A Rigged Election..
.                                                                                .
. ^   /   (   L   *   W   0                    #                    #            .
. .   .   .   .   .   .   .   A Rigged Election.   A Rigged Election.   A Rigged .
.                                                                                .
.   "   S   }   V   @   #   F         F                    F                    F.
.   .   .   .   .   .   .   . Election.   A Rigged Election.   A Rigged Election..
.                                                                                .
.    =                    =                    =                    =            .
.tion.   A Rigged Election.   A Rigged Election.   A Rigged Election.   A Rigged .
.                                                                                .
.                :                    :                    :                    :.
. Rigged Election.   A Rigged Election.   A Rigged Election.   A Rigged Election..
.                                                                                .
.    +                    +                    +                    +            .
.tion.   A Rigged Election.   A Rigged Election.   A Rigged Election.   A Rigged .
.                                                                                .
.                <                    <                    <                    <.
. Rigged Election.   A Rigged Election.   A Rigged Election.   A Rigged Election..
.                                                                                .
.    \                    \                    \                    \            .
.tion.   A Rigged Election.   A Rigged Election.   A Rigged Election.   A Rigged .
.                                                                                .
.                [                    [                    [                    [.
. Rigged Election.   A Rigged Election.   A Rigged Election.   A Rigged Election..
.                                                                                .
.    1                    1                    1                    1            .
.tion.   A Rigged Election.   A Rigged Election.   A Rigged Election.   A Rigged .
.                                                                                .
.                T                    T                    T                    T.
. Rigged Election.   A Rigged Election.   A Rigged Election.   A Rigged Election..
.                                                                                .
..................................................................................
..............................A Rigged Election.   A Rigged Election.   A Rigged .
. |   $   ^   /   (   L   *                                                      .
. .   .   .   .   .   .   .                    |                    |            .
.                             A Rigged Election.   A Rigged Election.   A Rigged .
.   W   0   "   S   }   V   @                                                    .
.   .   .   .   .   .   .   .                  $                    $            .
.                             A Rigged Election.   A Rigged Election.   A Rigged .
. #   F   =   :   +   <   \                                                      .
. .   .   .   .   .   .   .                    ^                    ^            . 
.                             A Rigged Election.   A Rigged Election.   A Rigged .
.   [   1   T   |   $   ^   /                                                    .
.   .   .   .   .   .   .   .                  /                    /            .
.                             A Rigged Election.   A Rigged Election.   A Rigged .
. (   L   *   W   0   "   S                                                      .
. .   .   .   .   .   .   .                    (                    (            .
.                             A Rigged Election.   A Rigged Election.   A Rigged .
.   }   V   @   #   F   =   :                                                    .
.   .   .   .   .   .   .   .                  L                    L            .
.                             A Rigged Election.   A Rigged Election.   A Rigged .
. +   <   \   [   1   T   |                                                      .
. .   .   .   .   .   .   .                    *                    *.           .
.                             A Rigged Election.   A Rigged Election.   A Rigged .
.   $   ^   /   (   L   *   W                                                    .
.   .   .   .   .   .   .   .                  W                    W            .
.                             A Rigged Election.   A Rigged Election.   A Rigged .
. 0   "   S   }   V   @   #                                                      .
. .   .   .   .   .   .   .                    0                    0            .
.                             A Rigged Election.   A Rigged Election.   A Rigged .
.   F   =   :   +   <   \   [                                                    .
.   .   .   .   .   .   .   .                  "                    "            .
.                             A Rigged Election.   A Rigged Election.   A Rigged .
. 1   T   |   $   ^   /   (                                                      .
. .   .   .   .   .   .   .                    S                    S            .
.                             A Rigged Election.   A Rigged Election.   A Rigged .
.   L   *   W   0   "   S   }                                                    .
.   .   .   .   .   .   .   .                  }                    }            .
.                             A Rigged Election.   A Rigged Election.   A Rigged .
. V   @   #   F   =   :   +                                                      .
. .   .   .   .   .   .   .                    V                    V            .
.                             A Rigged Election.   A Rigged Election.   A Rigged .
.   <   \   [   1   T   |   $                                                    .
.   .   .   .   .   .   .   .                  @                    @            .
.                             A Rigged Election.   A Rigged Election.   A Rigged .
. ^   /   (   L   *   W   0                                                      .
. .   .   .   .   .   .   .                    #                    #            .
.                             A Rigged Election.   A Rigged Election.   A Rigged .
.   "   S   }   V   @   #   F                                                    .
.   .   .   .   .   .   .   .                  F                    F            .
.tion.   A Rigged Election.   A Rigged Election.   A Rigged Election.   A Rigged .
.                                                                                .
.    =                    =                    =                    =            .
.tion.   A Rigged Election.   A Rigged Election.   A Rigged Election.   A Rigged .
.                                                                                .
.    :                    :                    :                    :            .
.tion.   A Rigged Election.   A Rigged Election.   A Rigged Election.   A Rigged .
.                                                                                .
.    +                    +                    +                    +            .
.tion.   A Rigged Election.   A Rigged Election.   A Rigged Election.   A Rigged .
.                                                                                .
.    <                    <                    <                    <            .
.tion.   A Rigged Election.   A Rigged Election.   A Rigged Election.   A Rigged .
.                                                                                .
.    \                    \                    \                    \            .
.tion.   A Rigged Election.   A Rigged Election.   A Rigged Election.   A Rigged .
.                                                                                .
.    [                    [                    [                    [            .
.tion.   A Rigged Election.   A Rigged Election.   A Rigged Election.   A Rigged .
.                                                                                .
.    1                    1                    1                    1            .
.tion.   A Rigged Election.   A Rigged Election.   A Rigged Election.   A Rigged .
.                                                                                .
.    T                    T                    T                    T            .
.tion.   A Rigged Election.   A Rigged Election.   A Rigged Election.   A Rigged .
..................................................................................

Experimenting with NLTK

With NLTK I started to analysed my text '?!' from Words of the Future to see if I could do something with the punctuation in the text


Using concordance

from nltk import word_tokenize

point = open("txt/!?_original.txt").read()
tokens = word_tokenize(point)
stengers = nltk.text.Text(tokens)

stengers.concordance("?", width=82 , lines=74)
Displaying 30 of 30 matches:
! / ? Nina Power Part 1 : ! “ [ T ] he entire
e comments , emails , and text messages ? If we take the tweets of Donald Trump a
the Nazis not need the exclamation mark ? Klemperer states , “ t is as if [ the L
he proclamation would need to stand out ? ” [ 3 ] This point alone should herald 
 infinitum … ( and what of the ellipses ? … another time , another time ) . If yo
he various uses of the exclamation mark ? While many of the comments suggest that
ter all ( ! ) done more than merely ( ! ? ) create ( ? ) and preserve ( ? ? ) the
 done more than merely ( ! ? ) create ( ? ) and preserve ( ? ? ) the same ( what 
ely ( ! ? ) create ( ? ) and preserve ( ? ? ) the same ( what same ? ) : namely (
y ( ! ? ) create ( ? ) and preserve ( ? ? ) the same ( what same ? ) : namely ( ?
d preserve ( ? ? ) the same ( what same ? ) : namely ( ? ! ? ) the abstention fro
? ) the same ( what same ? ) : namely ( ? ! ? ) the abstention from the enjoyment
the same ( what same ? ) : namely ( ? ! ? ) the abstention from the enjoyment of 
interest lies in the use of ‘ ! ’ and ‘ ? ’ and ‘ ! ? ’ and ‘ ? ? ’ and ‘ ? ! ? ’
s in the use of ‘ ! ’ and ‘ ? ’ and ‘ ! ? ’ and ‘ ? ? ’ and ‘ ? ! ? ’ and ‘ ! ! !
se of ‘ ! ’ and ‘ ? ’ and ‘ ! ? ’ and ‘ ? ? ’ and ‘ ? ! ? ’ and ‘ ! ! ! ’ . What 
 of ‘ ! ’ and ‘ ? ’ and ‘ ! ? ’ and ‘ ? ? ’ and ‘ ? ! ? ’ and ‘ ! ! ! ’ . What is
and ‘ ? ’ and ‘ ! ? ’ and ‘ ? ? ’ and ‘ ? ! ? ’ and ‘ ! ! ! ’ . What is Marx sign
‘ ? ’ and ‘ ! ? ’ and ‘ ? ? ’ and ‘ ? ! ? ’ and ‘ ! ! ! ’ . What is Marx signalli
 ! ! ! ’ . What is Marx signalling here ? Disbelief in idiocy , incomprehension ,
 but also perhaps a curious hope . Hope ? Hope in a better analysis , one worthie
l explain rather than mystify… Part 2 : ? Are we today in need of more question m
we today in need of more question marks ? Klemperer describes , as above , the qu
ggression or interruption : ‘ oh really ? ’ But it can also function as a kind of
ays ‘ hang on , what is being said here ? ’ , ‘ what is happening ? ’ , ‘ is this
ing said here ? ’ , ‘ what is happening ? ’ , ‘ is this okay ? ’ It is the questi
 what is happening ? ’ , ‘ is this okay ? ’ It is the question of the body that s
 the right thing , what they are saying ? ’ It is the feeling and the admission t
tion mark as a symbol , then , of trust ? There must be room for exploration , of
cal through and through . The ! and the ? are signs among other signs , but their
stengers.concordance("!", width=82 , lines=74)
Displaying 41 of 41 matches:
 ! / ? Nina Power Part 1 : ! “ [ T ] he en
! / ? Nina Power Part 1 : ! “ [ T ] he entire thrust of the LTI The
 well that it is the exclamation mark – ! – that dominates . A quick look at his 
rative sentence or word followed by a ‘ ! ’ : ‘ Big trade imbalance ! ’ , ‘ No mo
owed by a ‘ ! ’ : ‘ Big trade imbalance ! ’ , ‘ No more ! ’ , ‘ They ’ ve gone CR
: ‘ Big trade imbalance ! ’ , ‘ No more ! ’ , ‘ They ’ ve gone CRAZY ! ’ , ‘ Happ
 ‘ No more ! ’ , ‘ They ’ ve gone CRAZY ! ’ , ‘ Happy National Anthem Day ! ’ , ‘
CRAZY ! ’ , ‘ Happy National Anthem Day ! ’ , ‘ REST IN PEACE BILLY GRAHAM ! ’ , 
 Day ! ’ , ‘ REST IN PEACE BILLY GRAHAM ! ’ , ‘ IF YOU DON ’ T HAVE STEEL , YOU D
HAVE STEEL , YOU DON ’ T HAVE A COUNTRY ! ’ , ( we shall leave the matter of all 
00 Billion Trade Deficit-have no choice ! , ‘ Jobless claims at a 49 year low ! ’
e ! , ‘ Jobless claims at a 49 year low ! ’ and so on … you get the picture . Tru
lamation mark as apocalypse , not the ‘ ! ’ of surprise , amusement , girlish shy
kind which simply says ‘ oh my goodness ! ’ or ‘ that ’ s great ! ’ or ‘ I ’ m sh
 oh my goodness ! ’ or ‘ that ’ s great ! ’ or ‘ I ’ m shocked/surprised/happy st
‘ I ’ m shocked/surprised/happy stunned ! ’ But then we use them all the time and
y : ‘ I ’ m sorry this email is so late ! ’ , ‘ I have been so useless lately ! ’
e ! ’ , ‘ I have been so useless lately ! ’ , ‘ I ’ m so tired I can hardly see !
! ’ , ‘ I ’ m so tired I can hardly see ! ’ and so on , ad infinitum … ( and what
sionate use : “ love how she is so open ! Ò ” says Kailey Bashaw , to which Oliv
o stop drinking because of all the hate ! Lighten up people ! JLaw is gon na keep
use of all the hate ! Lighten up people ! JLaw is gon na keep thriving with or wi
p thriving with or without your support ! ! ” A similar kind of plea , the plea o
thriving with or without your support ! ! ” A similar kind of plea , the plea of 
eading of labour . This is unskillful ( ! ) , because ( ! ) indeed the owner of c
 . This is unskillful ( ! ) , because ( ! ) indeed the owner of capital ( ! ) has
use ( ! ) indeed the owner of capital ( ! ) has after all ( ! ) done more than me
 owner of capital ( ! ) has after all ( ! ) done more than merely ( ! ? ) create 
after all ( ! ) done more than merely ( ! ? ) create ( ? ) and preserve ( ? ? ) t
) the same ( what same ? ) : namely ( ? ! ? ) the abstention from the enjoyment o
n for which he demands , for instance ( ! ! ! ) interest. ’ How very ‘ skilful ’ 
for which he demands , for instance ( ! ! ! ) interest. ’ How very ‘ skilful ’ is
r which he demands , for instance ( ! ! ! ) interest. ’ How very ‘ skilful ’ is t
 mere ‘ demand ’ into a source of value ! ” [ 4 ] Marx was famously brutal and sc
 here our interest lies in the use of ‘ ! ’ and ‘ ? ’ and ‘ ! ? ’ and ‘ ? ? ’ and
ies in the use of ‘ ! ’ and ‘ ? ’ and ‘ ! ? ’ and ‘ ? ? ’ and ‘ ? ! ? ’ and ‘ ! !
d ‘ ? ’ and ‘ ! ? ’ and ‘ ? ? ’ and ‘ ? ! ? ’ and ‘ ! ! ! ’ . What is Marx signal
‘ ! ? ’ and ‘ ? ? ’ and ‘ ? ! ? ’ and ‘ ! ! ! ’ . What is Marx signalling here ? 
! ? ’ and ‘ ? ? ’ and ‘ ? ! ? ’ and ‘ ! ! ! ’ . What is Marx signalling here ? Di
? ’ and ‘ ? ? ’ and ‘ ? ! ? ’ and ‘ ! ! ! ’ . What is Marx signalling here ? Disb
and political through and through . The ! and the ? are signs among other signs ,


I then tried to create patches again

for line in stengers.concordance_list("!"):
    cwidth = (82 - len("!")) // 2
    print ( line.left_print.rjust(cwidth), line.query, line.right_print.ljust(cwidth)) 
    
print(" ")

for line in stengers.concordance_list("?", width=82, lines=74):
    cwidth = (82 - len("?")) // 2
    print ( line.left_print.rjust(cwidth), line.query, line.right_print.ljust(cwidth))
                                        ! / ? Nina Power Part 1 : ! “ [ T ] he e  
               ! / ? Nina Power Part 1 : ! “ [ T ] he entire thrust of the LTI Th  
  well that it is the exclamation mark – ! – that dominates . A quick look at his  
  ative sentence or word followed by a ‘ ! ’ : ‘ Big trade imbalance ! ’ , ‘ No m  
  wed by a ‘ ! ’ : ‘ Big trade imbalance ! ’ , ‘ No more ! ’ , ‘ They ’ ve gone C  
   ‘ Big trade imbalance ! ’ , ‘ No more ! ’ , ‘ They ’ ve gone CRAZY ! ’ , ‘ Hap  
  ‘ No more ! ’ , ‘ They ’ ve gone CRAZY ! ’ , ‘ Happy National Anthem Day ! ’ ,   
  RAZY ! ’ , ‘ Happy National Anthem Day ! ’ , ‘ REST IN PEACE BILLY GRAHAM ! ’ ,  
  Day ! ’ , ‘ REST IN PEACE BILLY GRAHAM ! ’ , ‘ IF YOU DON ’ T HAVE STEEL , YOU   
  AVE STEEL , YOU DON ’ T HAVE A COUNTRY ! ’ , ( we shall leave the matter of all  
  0 Billion Trade Deficit-have no choice ! , ‘ Jobless claims at a 49 year low !   
   ! , ‘ Jobless claims at a 49 year low ! ’ and so on … you get the picture . Tr  
  amation mark as apocalypse , not the ‘ ! ’ of surprise , amusement , girlish sh  
  ind which simply says ‘ oh my goodness ! ’ or ‘ that ’ s great ! ’ or ‘ I ’ m s  
  oh my goodness ! ’ or ‘ that ’ s great ! ’ or ‘ I ’ m shocked/surprised/happy s  
   I ’ m shocked/surprised/happy stunned ! ’ But then we use them all the time an  
   : ‘ I ’ m sorry this email is so late ! ’ , ‘ I have been so useless lately !   
   ! ’ , ‘ I have been so useless lately ! ’ , ‘ I ’ m so tired I can hardly see   
   ’ , ‘ I ’ m so tired I can hardly see ! ’ and so on , ad infinitum … ( and wha  
  ionate use : “ love how she is so open ! Ò ” says Kailey Bashaw , to which Oli  
   stop drinking because of all the hate ! Lighten up people ! JLaw is gon na kee  
  se of all the hate ! Lighten up people ! JLaw is gon na keep thriving with or w  
   thriving with or without your support ! ! ” A similar kind of plea , the plea   
  hriving with or without your support ! ! ” A similar kind of plea , the plea of  
  ading of labour . This is unskillful ( ! ) , because ( ! ) indeed the owner of   
 
                                     ! / ? Nina Power Part 1 : ! “ [ T ] he entire 
 e comments , emails , and text messages ? If we take the tweets of Donald Trump a 
 the Nazis not need the exclamation mark ? Klemperer states , “ t is as if [ the L 
 he proclamation would need to stand out ? ” [ 3 ] This point alone should herald  
  infinitum … ( and what of the ellipses ? … another time , another time ) . If yo 
 he various uses of the exclamation mark ? While many of the comments suggest that 
 ter all ( ! ) done more than merely ( ! ? ) create ( ? ) and preserve ( ? ? ) the 
  done more than merely ( ! ? ) create ( ? ) and preserve ( ? ? ) the same ( what  
 ely ( ! ? ) create ( ? ) and preserve ( ? ? ) the same ( what same ? ) : namely ( 
 y ( ! ? ) create ( ? ) and preserve ( ? ? ) the same ( what same ? ) : namely ( ? 
 d preserve ( ? ? ) the same ( what same ? ) : namely ( ? ! ? ) the abstention fro 
 ? ) the same ( what same ? ) : namely ( ? ! ? ) the abstention from the enjoyment 
 the same ( what same ? ) : namely ( ? ! ? ) the abstention from the enjoyment of  
 interest lies in the use of ‘ ! ’ and ‘ ? ’ and ‘ ! ? ’ and ‘ ? ? ’ and ‘ ? ! ? ’ 
 s in the use of ‘ ! ’ and ‘ ? ’ and ‘ ! ? ’ and ‘ ? ? ’ and ‘ ? ! ? ’ and ‘ ! ! ! 
 se of ‘ ! ’ and ‘ ? ’ and ‘ ! ? ’ and ‘ ? ? ’ and ‘ ? ! ? ’ and ‘ ! ! ! ’ . What  
  of ‘ ! ’ and ‘ ? ’ and ‘ ! ? ’ and ‘ ? ? ’ and ‘ ? ! ? ’ and ‘ ! ! ! ’ . What is 
 and ‘ ? ’ and ‘ ! ? ’ and ‘ ? ? ’ and ‘ ? ! ? ’ and ‘ ! ! ! ’ . What is Marx sign 
 ‘ ? ’ and ‘ ! ? ’ and ‘ ? ? ’ and ‘ ? ! ? ’ and ‘ ! ! ! ’ . What is Marx signalli 
  ! ! ! ’ . What is Marx signalling here ? Disbelief in idiocy , incomprehension , 
  but also perhaps a curious hope . Hope ? Hope in a better analysis , one worthie 
 l explain rather than mystify… Part 2 : ? Are we today in need of more question m 
 we today in need of more question marks ? Klemperer describes , as above , the qu 
 ggression or interruption : ‘ oh really ? ’ But it can also function as a kind of 
 ays ‘ hang on , what is being said here ? ’ , ‘ what is happening ? ’ , ‘ is this 
 ing said here ? ’ , ‘ what is happening ? ’ , ‘ is this okay ? ’ It is the questi 
  what is happening ? ’ , ‘ is this okay ? ’ It is the question of the body that s 
  the right thing , what they are saying ? ’ It is the feeling and the admission t 
 tion mark as a symbol , then , of trust ? There must be room for exploration , of 
 cal through and through . The ! and the ? are signs among other signs , but their 

Response to '?!'

I the proceeded to mix and use what I learned from the classes to create my response to the text

One of many drafts were I used replace to change to punctuation in the text (this was for the print version)

txt = open('txt/!?_test.txt', 'r').read()

#!
txt = txt.replace('! ','<span style="color: grey;">[circle the right punctuation ?/!]</span>')
txt = txt.replace("!’",'<span style="color: grey;">[circle the right punctuation ?/!]</span>')
txt = txt.replace('!\n','<span style="color: grey;">[circle the right punctuation ?/!]</span>\n')
txt = txt.replace('!”','<span style="color: grey;">[circle the right punctuation ?/!]</span>')

#?
txt = txt.replace("? ",'<span style="color: grey;">[circle the right punctuation ?/!]</span>')
txt = txt.replace("?’",'<span style="color: grey;">[circle the right punctuation ?/!]</span>')
txt = txt.replace('?\n','<span style="color: grey;">[circle the right punctuation ?/!]</span>\n')
txt = txt.replace('?”','<span style="color: grey;">[circle the right punctuation ?/!]</span>')

#,
txt = txt.replace(", ",'<span style="color: grey;">[circle the right punctuation ,/.]</span>')

#.
txt = txt.replace(". ",'<span style="color: grey;">[circle the right punctuation ,/.]</span>')
txt = txt.replace(".’",'<span style="color: grey;">[circle the right punctuation ,/.]</span>')
txt = txt.replace(".”",'<span style="color: grey;">[circle the right punctuation ,/.]</span>')

#…
txt = txt.replace('… ','<span style="color: grey;">[circle the right punctuation ;/…]</span>')

#line break
txt = txt.replace("\n",'<br>')

print(txt)

here is a part of the output

[circle the right punctuation ?/!]/ [circle the right punctuation ?/!]

Nina Power

Part 1: [circle the right punctuation ?/!]

“[T]he entire thrust of the LTI The Langue of the Third Reich was towards visualisation[circle the right punctuation ,/.]and if this process of visualizing could be achieved with recourse to Germanic traditions[circle the right punctuation ,/.]by means of a runic sign[circle the right punctuation ,/.]then so much the better[circle the right punctuation ,/.]And as a jagged character the rune of life was related to the SS symbol[circle the right punctuation ,/.]and as an ideological symbol also related to the spokes of the wheel of the sun[circle the right punctuation ,/.]the swastika [circle the right punctuation ;/…]Renan’s position: the question mark – the most important of all punctuation marks[circle the right punctuation ,/.]A position in direct opposition to National Socialist intransigence and self-confidence [circle the right punctuation ;/…]

here is another replace I used, it's very straight forward and basically randomly picks a replacement for punctuation within the text.

txt = open('txt/!?_test.txt', 'r').read()

point = ("!","?","!!","??","!?","?!","!!!","?!?","???","!?!")
point2 = ("!","?","!!","??","!?","?!","!!!","?!?","???","!?!")
point3 = ("!","?","!!","??","!?","?!","!!!","?!?","???","!?!")
point4 = ("!","?","!!","??","!?","?!","!!!","?!?","???","!?!")
point5 = ("!","?","!!","??","!?","?!","!!!","?!?","???","!?!")
point6 = ("!","?","!!","??","!?","?!","!!!","?!?","???","!?!")
point7 = ("!","?","!!","??","!?","?!","!!!","?!?","???","!?!")


import random
import re
def replace(m):
    t=m.group(0)
    if t=="!":
        return random.choice(point)
    elif t=="?":
        return random.choice(point2)
    elif t=="??":
        return random.choice(point3)
    elif t=="?!":
        return random.choice(point4)
    elif t=="!!!":
        return random.choice(point5)
    elif t=="?!?":
        return random.choice(point6)
    elif t=="!?":
        return random.choice(point7)
    

print(re.sub(r"[!?,.]+", replace ,txt))