User:Clara/S13: Difference between revisions

From XPUB & Lens-Based wiki
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Prototype=
=Prototype Class=
[[User:Clara/S13/Random definition generator|Random definition generator]]
#[[User:Clara/S13/Random definition generator|Random definition generator]]
#[[User:CLara/S13/Experimenting with patches|Experimenting with patches]]
#[[User:Clara/S13/Experimenting with NLTK|Experimenting with NLTK]]
#[[User:Clara/S13/Try out response to '?!'|Try out response to '?!']]


 
=Reading and Annotation Class=
[[User:CLara/S13/Experimenting with patches|Experimenting with patches]]
 
 
[[User:Clara/S13/Experimenting with NLTK|Experimenting with NLTK]]
 
 
==Try out 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)
<source lang="python">
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)
</source>
 
'''here is a part of the output'''
<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>
<br>
<br>
'''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">
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))
</source>
 
=Steve=
First annotation of text was with all the class: [https://pad.xpub.nl/p/!%E2%80%93Nina_Power Group analysis of !? by Nina Power]
First annotation of text was with all the class: [https://pad.xpub.nl/p/!%E2%80%93Nina_Power Group analysis of !? by Nina Power]


Line 98: Line 15:


=Individual project=
=Individual project=
 
[[File:S13 Individual Webpage ClaraGradel.jpg|thumb|right|Indidvidual webpage abour ?!]]
[[User:Clara/Process|Process of making a map of my word !?]]<br>
#[[User:Clara/Process|Process]]<br>
[[User:Clara/Print Result|Print Result]]<br>
#[[User:Clara/Print Result|Print Result]]<br>
[https://issue.xpub.nl/13/00/ Web Result]
#[https://issue.xpub.nl/13/00/ Web Result]


=Group project=
=Group project=
#'''[https://issue.xpub.nl/13/ Wor(l)ds for the Future]'''
#[https://pad.xpub.nl/p/keywords-mapping Mapping Keywords]
#[https://pad.xpub.nl/p/28_10_20_SPECIAL_ISSUE_13_IDEAS Overview of project]
#[https://pad.xpub.nl/p/Issue13_Printingproduction Print production]<br>
#Copy Editing: Kendal and I copy edited the whole project

Latest revision as of 23:03, 9 April 2021

Prototype Class

  1. Random definition generator
  2. Experimenting with patches
  3. Experimenting with NLTK
  4. Try out response to '?!'

Reading and Annotation Class

First annotation of text was with all the class: Group analysis of !? by Nina Power

Then we were split up in groups and I was with Kendal, Nami and Louisa. Together we were given 4 texts to annotate which were !?, Resurgence, Undecidability and Liquid and each one picked a text.

I picked !? which was the text we all first annotated as a class so I created a new one and cleaned up the things we had found as a class and made my own analysis ?!. Nami picked Undecidability, Louisa picked Resurgence & Kendal picked Liquid.

We annotated the new text together and analyzed and discussed them together and later started to individual analyze our own text with all the knowledge we gained in order to make our response our text.

Individual project

Indidvidual webpage abour ?!
  1. Process
  2. Print Result
  3. Web Result

Group project

  1. Wor(l)ds for the Future
  2. Mapping Keywords
  3. Overview of project
  4. Print production
  5. Copy Editing: Kendal and I copy edited the whole project