topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday December 13, 2024, 1:17 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: Text Parsing and Output ( Result in Excel, load multiple DOC,RTF,Word Files )  (Read 39189 times)

Saira

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 22
    • View Profile
    • Donate to Member
Hello Donation  Coder
I need a Text Parsing Tool which import Word Files like RTF DOC DOCX and give result in Excel after calculation of NO of total lines spoken by  per actor read below for description (see attached file for out put result and also one one SCRIPT is attached Script i means Drama script).




This tool is used to import any script or scripts upon wish and it gives us the number of lines for all the actors with the option of removing (reac) and other things. and it gives us an excel file with the actor name on the left and the lines per episode.

( many actor names are very large do check them )




Example: If the actor name is not followed by a sentence then the whole line doesn't count.

It must not count the lines which just have  only reactions which are inside ( )   ... if there are dialogues contain these reactions it must count them.. but need to have some option  to remove any thing inside the ()

well scripts are in DOC RTF DOCX format .... and each word file is 1 episode
need to follow the same script format which is attached and its i rtf format but need the tool to load and calculate from any word file
in the attached  excel file ....personges (French word which means Actor) are actors name taken from the script automatically ...   just skip commediens row as we have put the row containing different actor names  manually ...
in episodes you can see number of episodes  ... example very first actress is rosy  she has spoken 20 lines in episode 40  and so on .. and after it gives total number of lines spoken by rosy from episode 40 to 60
i think it can be on .net with office integration  or what ever best you people think  ... can code in any programming language...

i am not sure if i am allowed to put my msn id .. but if  i am doing wrong Admin you can edit the post ..
my msn id is princesssaira at hotmail.com  if any more information needed can contact me
Thanks



« Last Edit: March 24, 2012, 02:06 PM by Saira »

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,629
    • View Profile
    • Donate to Member
A few questions:

@all:
Has anybody started working on this already? If not, I'm interested to start something, to be finished in a couple of days/a week, as I won't be working on it full-time ;)

@Saira:
- What input format is to be expected most often? rtf or doc(x)?
- Where does the extra column with names come from? Is there some mapping of character names to a list of actual participants in the play?
- Do you have the need to merge results of several runs into 1 output xls(x) file?

BTW, I'll be using Apache POI components in the Java application I'll be writing, so a working install of Java 6 (JRE, latest revision is recommended) will be required to run the application.

Krishean

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 75
  • I like pie
    • View Profile
    • Draconis Labs
    • Donate to Member
I already started doing some work on this, the files seem to have a consistent format, so I decided to convert them to text and then just parse all the text files and output a csv spreadsheet.

Here's a small batch script that will convert all the rtf, doc, and docx files in the current directory to text using LibreOffice (my favorite office suite) and output the text files in a directory called "tempfiles"

@echo off
set soffice=%ProgramFiles(x86)%\LibreOffice\program\soffice.exe
for /f "delims=*" %%a in ('dir /b *.rtf,*.doc,*.docx') do (
    "%soffice%" --headless --convert-to txt:Text --outdir "tempfiles" "%%a"
)
@exit

I'm working on the main parsing script now.
Any sufficiently advanced technology is indistinguishable from magic.

- Arthur C. Clarke

Krishean

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 75
  • I like pie
    • View Profile
    • Draconis Labs
    • Donate to Member
Here's the output of the parser for what I have written so far, see if it looks like what you want. The reactions/dialogue may not be detected entirely correctly, as you can have dialogue inside (), but I may be able to tweak the script a bit to get it to detect them a little more accurately:

>cscript /nologo script.js
Name: "AUNTIE"
Line: "Fistos !"
Type: "dialogue"
Name: "AUNTIE"
Line: "La poule ne va pas se tuer toute seule"
Type: "dialogue"
Name: "NOZIPHO"
Line: "(RIRE...........................)"
Type: "reaction"
Name: "NOZIPHO"
Line: "Fistos!"
Type: "dialogue"
Name: "NOZIPHO"
Line: "Tue-la !"
Type: "dialogue"
Name: "NOZIPHO"
Line: "c'est la derniŠre fois que je le fais … ta place,"
Type: "dialogue"
Name: "NOZIPHO"
Line: "Prends-la"
Type: "dialogue"
Name: "AUNTIE"
Line: "Fistos,"
Type: "dialogue"
Name: "AUNTIE"
Line: "tu as d‚j… tu‚ la poule ?"
Type: "dialogue"
Name: "NOZIPHO"
Line: "Oui, maman. Il l'a tu‚e"
Type: "dialogue"
Name: "AUNTIE"
Line: "Alors, apporte-la-moi !"
Type: "dialogue"
Name: "FISTOS"
Line: "Oui, maman"
Type: "dialogue"
Name: "AUNTIE"
Line: "\"
Type: "reaction"
Name: "AUNTIE"
Line: "Mets-la ici"
Type: "dialogue"
Name: "AUNTIE"
Line: "Merci mon ch‚ri"
Type: "dialogue"
Name: "FISTOS"
Line: "\"
Type: "reaction"
Name: "CASPER'S MOTHER"
Line: "Casper, mon fils ..."
Type: "dialogue"
Name: "CASPER"
Line: "Oui, maman"
Type: "dialogue"
Name: "CASPER'S MOTHER"
Line: "Je retourne au travail ..."
Type: "dialogue"
Name: "CASPER'S MOTHER"
Line: "On se revoit la semaine prochaine"
Type: "dialogue"
Name: "CASPER'S MOTHER"
Line: "Prends soin de toi"
Type: "dialogue"
Name: "CASPER'S MOTHER"
Line: "N'oublie pas d'‚tudier."
Type: "dialogue"
Name: "CASPER"
Line: "Oui"
Type: "dialogue"
Name: "CASPER"
Line: "(sifflant.....)"
Type: "reaction"
Name: "CASPER"
Line: "(sifflant.....)"
Type: "reaction"
Name: "CASPER"
Line: "Salutÿ!"
Type: "dialogue"
Name: "FISTOS"
Line: "Casper!"
Type: "dialogue"
Name: "CASPER"
Line: "Quoi ?"
Type: "dialogue"
Name: "FISTOS"
Line: "Comment ‡a, ®ÿQuoiÿ¯ÿ?"
Type: "dialogue"
Name: "CASPER"
Line: "Quoi ?!"
Type: "dialogue"
Name: "FISTOS"
Line: "T'es cr‚tin ou quoi ?"
Type: "dialogue"
Name: "CASPER"
Line: "Regarde ‡a"
Type: "dialogue"
Name: "CASPER"
Line: "Les photosÿ! Regarde-moi ‡a !"
Type: "dialogue"
Name: "CASPER"
Line: "Regarde bien !"
Type: "dialogue"
Name: "CASPER"
Line: "(rire.......)"
Type: "reaction"
Name: "CASPER"
Line: "Ecoute, t'a int‚rˆt … venir !"
Type: "dialogue"
Name: "FISTOS"
Line: "Je ne veux pas voir ‡a. Aller, vas-t'en d'ici."
Type: "dialogue"
Name: "CASPER"
Line: "Tu rigole ou quoiÿ?"
Type: "dialogue"
Name: "CASPER"
Line: "A deux heures,"
Type: "dialogue"
Name: "CASPER"
Line: "chez moi,"
Type: "dialogue"
Name: "CASPER"
Line: "d'accordÿ?"
Type: "dialogue"
Name: "CASPER"
Line: "(REAC)"
Type: "reaction"
Name: "CASPER"
Line: "t'as int‚ret … venir mec"
Type: "dialogue"
Name: "CASPER"
Line: "J'ai tout organis‚ avec la fille."
Type: "dialogue"
Name: "FISTOS"
Line: "Je viendrai pas."
Type: "dialogue"
Name: "CASPER"
Line: "Aujourd'hui"
Type: "dialogue"
Name: "CASPER"
Line: "tu vas coucher avec elle."
Type: "dialogue"
Name: "CASPER"
Line: "(reac............................................................)"
Type: "reaction"
Name: "FISTOS"
Line: "Arrete! Range ca ! -"
Type: "dialogue"
Name: "FISTOS"
Line: "Range ce truc-l… !"
Type: "dialogue"
Name: "CASPER"
Line: "Et c'est quoi cette tenue ?"
Type: "dialogue"
Name: "NOZIPHO"
Line: "Fistos !"
Type: "dialogue"
Name: "CASPER"
Line: "(REAC)"
Type: "reaction"
Name: "NOZIPHO"
Line: "J'ai besoin de mes livres... pour mon groupe d'‚tudes"
Type: "dialogue"
Name: "FISTOS"
Line: "J'me laveÿ!"
Type: "dialogue"
Name: "NOZIPHO"
Line: "S'il te plaŒt grouille-toi !"
Type: "dialogue"
Name: "NOZIPHO"
Line: "Je vais entrer"
Type: "dialogue"
Name: "NOZIPHO"
Line: "N'oublie pas..."
Type: "dialogue"
Name: "FISTOS"
Line: "...d'‚ponger l'eau"
Type: "dialogue"
Name: "FISTOS"
Line: "(reac)"
Type: "reaction"
Name: "AUNTIE"
Line: "(reac.......)"
Type: "reaction"
Name: "NOZIPHO"
Line: "(reac.....................)"
Type: "reaction"
Name: "AUNTIE"
Line: "Dis-moi, au fait..."
Type: "dialogue"
Name: "AUNTIE"
Line: "Comment se passent les ‚tudes?"
Type: "dialogue"
Name: "NOZIPHO"
Line: "€a se passe bien,"
Type: "dialogue"
Name: "NOZIPHO"
Line: "Je fais de mon mieux."
Type: "dialogue"
Name: "AUNTIE"
Line: "Continue comme ‡a, ma fille,"
Type: "dialogue"
Name: "AUNTIE"
Line: "L… dehors, c'est trŠs difficile"
Type: "dialogue"
Name: "NOZIPHO"
Line: "Oui, maman"
Type: "dialogue"
Name: "AUNTIE"
Line: "Va ma  fille"
Type: "dialogue"
Name: "NOZIPHO"
Line: "On se voit … mon retour"
Type: "dialogue"
Name: "AUNTIE"
Line: "OK !"
Type: "dialogue"
Name: "AUNTIE"
Line: "\"
Type: "reaction"
Name: "AUNTIE"
Line: "O— est-ce que tu as dit que tu allais ?"
Type: "dialogue"
Name: "FISTOS"
Line: "A une fˆte"
Type: "dialogue"
Name: "AUNTIE"
Line: "Avec qui est-ce que tu y vas ?"
Type: "dialogue"
Name: "FISTOS"
Line: "Avec mes amis."
Type: "dialogue"
Name: "AUNTIE"
Line: "A quelle heure tu seras de retour ?"
Type: "dialogue"
Name: "FISTOS"
Line: "A huit heures"
Type: "dialogue"
Name: "AUNTIE"
Line: "Et qui va t'ouvrir la porteÿ?"
Type: "dialogue"
Name: "AUNTIE"
Line: "Tu dois rentrer pour six heures, … l'heure du dŒner."
Type: "dialogue"
Name: "FISTOS"
Line: "Comme tu veux, maman"
Type: "dialogue"
Name: "AUNTIE"
Line: "(reac)"
Type: "reaction"
Name: "AUNTIE"
Line: "Tu es si beau"
Type: "dialogue"
Name: "AUNTIE"
Line: "(rire)."
Type: "reaction"
Name: "FISTOS"
Line: "Merci, maman,"
Type: "dialogue"
Name: "FISTOS"
Line: "Il faut que j'y aille..."
Type: "dialogue"
Name: "FISTOS"
Line: "(BISOUS)"
Type: "reaction"
Name: "AUNTIE"
Line: "Fistos,"
Type: "dialogue"
Name: "AUNTIE"
Line: "six heures."
Type: "dialogue"
Name: "FISTOS"
Line: "Oui."
Type: "dialogue"
Name: "CASPER"
Line: "H‚ joli courÿ! !"
Type: "dialogue"
Name: "CASPER"
Line: "Sois gentil et sert un verre, tu veux ?"
Type: "dialogue"
Name: "MMATSIETSI"
Line: "(rire.............................)"
Type: "reaction"
Name: "JIMMY"
Line: "Tu es au courant, pour la soir‚e de Fistos et ses potes ?"
Type: "dialogue"
Name: "JIMMY"
Line: "Hein ?"
Type: "dialogue"
Name: "JIMMY"
Line: "Tu es au courant ?"
Type: "dialogue"
Name: "THOMAS"
Line: "Ils organisent une fˆte ?"
Type: "dialogue"
Name: "JIMMY"
Line: "Ouais"
Type: "dialogue"
Name: "JIMMY"
Line: "(Tu n'as pas ‚t‚ invit‚,)"
Type: "reaction"
Name: "THOMAS"
Line: "En effet, c'est vrai"
Type: "dialogue"
Name: "JIMMY"
Line: "C'est vrai... alors c'est quoi, ton plan ?"
Type: "dialogue"
Name: "THOMAS"
Line: "On va aller leur rendre  visite."
Type: "dialogue"
Name: "THOMAS"
Line: "aujourd'hui, pendant la fˆte, ils sauront tous qui je suis."
Type: "dialogue"
Name: "JIMMY"
Line: "Super"
Type: "dialogue"
Name: "CASPER"
Line: "(rire........)"
Type: "reaction"
Name: "CASPER"
Line: "Eh, mon pote Fistos !"
Type: "dialogue"
Name: "CASPER"
Line: "Approche vieux !"
Type: "dialogue"
Name: "CASPER"
Line: "Aie aie aie."
Type: "dialogue"
Name: "CASPER"
Line: "Maintenant, explique-moi,"
Type: "dialogue"
Name: "CASPER"
Line: "C'est quoi tout ce roseÿ?"
Type: "dialogue"
Name: "CASPER"
Line: "Ah, les filles, les filles..."
Type: "dialogue"
Name: "CASPER"
Line: "j'vous pr‚sente mon meilleur pote,"
Type: "dialogue"
Name: "CASPER"
Line: "Il s'appel Fistos"
Type: "dialogue"
Name: "CASPER"
Line: "Dis bonjour."
Type: "dialogue"
Name: "PARTY GIRL"
Line: "Salut"
Type: "dialogue"
Name: "CASPER"
Line: "MCS !"
Type: "dialogue"
Name: "YOUNG LADY"
Line: "C'est quoi, MCSÿ?"
Type: "dialogue"
Name: "CASPER"
Line: "ohhhhh ®ÿMeilleur Cerveau de Sowetoÿ¯"
Type: "dialogue"
Name: "CASPER"
Line: "(rire................)"
Type: "reaction"
Name: "CASPER"
Line: "Fistos ! Viens ici !"
Type: "dialogue"
Name: "CASPER"
Line: "Mesdames, … plus tard."
Type: "dialogue"
Name: "CASPER"
Line: "Fistos, vas-y d‚tends-toi un peu"
Type: "dialogue"
Name: "CASPER"
Line: "La voil…,"
Type: "dialogue"
Name: "CASPER"
Line: "Viens par ici"
Type: "dialogue"
Name: "CASPER"
Line: "La voil…... tu dois pas avoir le trac... t'as le trac ?"
Type: "dialogue"
Name: "FISTOS"
Line: "Non, pas du tout"
Type: "dialogue"
Name: "CASPER"
Line: "Si, t'as le trac !"
Type: "dialogue"
Name: "FISTOS"
Line: "Pas du tout,"
Type: "dialogue"
Name: "CASPER"
Line: "T'as le trac !"
Type: "dialogue"
Name: "CASPER"
Line: "Allez..."
Type: "dialogue"
Name: "CASPER"
Line: "Fistos, danse ! Vas-y !"
Type: "dialogue"
Name: "CASPER"
Line: "Allez"
Type: "dialogue"
Name: "MMATSIETSI"
Line: "C'est toi Fistos?"
Type: "dialogue"
Name: "FISTOS"
Line: "Oui"
Type: "dialogue"
Name: "MMATSIETSI"
Line: "Casper m'a dit que tu es bon danseur..."
Type: "dialogue"
Name: "CASPER"
Line: "Oh, attends !"
Type: "dialogue"
Name: "CASPER"
Line: "Je vais mettre une autre chanson"
Type: "dialogue"
Name: "CASPER"
Line: "(rire............................)"
Type: "reaction"
Name: "CASPER"
Line: "Vas-y mon vieux !"
Type: "dialogue"
Name: "CASPER"
Line: "Fistos"
Type: "dialogue"
Name: "CASPER"
Line: "Fistos"
Type: "dialogue"
Name: "CASPER"
Line: "Qu'est-ce qui se passe, mec ?"
Type: "dialogue"
Name: "THOMAS"
Line: "Arrˆte cette musique, tout de suite"
Type: "dialogue"
Name: "THOMAS"
Line: "Alors..."
Type: "dialogue"
Name: "THOMAS"
Line: "Tu organises une soir‚e"
Type: "dialogue"
Name: "THOMAS"
Line: "dans mon quartier... et je suis meme pas invit‚."
Type: "dialogue"
Name: "THOMAS"
Line: "hein ?"
Type: "dialogue"
Name: "FISTOS"
Line: "\"
Type: "reaction"
Name: "THOMAS"
Line: "Est-ce que tu sais qui est Fanga ?"
Type: "dialogue"
Name: "THOMAS"
Line: "Tu as d‚j… entendu parler de lui ?"
Type: "dialogue"
Name: "FISTOS"
Line: "Je connais Panga"
Type: "dialogue"
Name: "THOMAS"
Line: "Est-ce que tu veux que je t'inflige..."
Type: "dialogue"
Name: "THOMAS"
Line: "une autre cicatriceÿ? Parce que..."
Type: "dialogue"
Name: "THOMAS"
Line: "je vois que tu en as d‚j… une"
Type: "dialogue"
Name: "FISTOS"
Line: "Je ne faisais que te r‚pondre"
Type: "dialogue"
Name: "THOMAS"
Line: "Toi, tu veux me r‚pondreÿ?!"
Type: "dialogue"
Name: "THOMAS"
Line: "Tu veux corriger mes erreurs c'est ‡a ?!"
Type: "dialogue"
Name: "THOMAS"
Line: "T'as cru que j'‚tais dans la classe de ta petite maman ch‚rieÿ?!"
Type: "dialogue"
Name: "CASPER"
Line: "Fistos..."
Type: "dialogue"
Name: "CASPER"
Line: "Thomas a raison..."
Type: "dialogue"
Name: "THOMAS"
Line: "Toi, ferme-la !"
Type: "dialogue"
Name: "THOMAS"
Line: "Tu vois pas que j'lui parle ?"
Type: "dialogue"
Name: "CASPER"
Line: "Je dis juste que t'as raison"
Type: "dialogue"
Name: "CASPER"
Line: "F...Fanga man"
Type: "dialogue"
Name: "FISTOS"
Line: "Hmÿ, hm.."
Type: "dialogue"
Name: "FISTOS"
Line: "ah.."
Type: "dialogue"
Name: "CASPER"
Line: "Pas vrai, Fistos ?"
Type: "dialogue"
Name: "FISTOS"
Line: "Ouais"
Type: "dialogue"
Name: "FISTOS"
Line: "Fanga ?"
Type: "dialogue"
Name: "FISTOS"
Line: "C'est ‡aÿ?"
Type: "dialogue"
Name: "CASPER"
Line: "Fanga."
Type: "dialogue"
Name: "FISTOS"
Line: "Ok, maintenant je vois."
Type: "dialogue"
Name: "CASPER"
Line: "Ouais"
Type: "dialogue"
Name: "CASPER"
Line: "On est quittes les gars ?"
Type: "dialogue"
Name: "THOMAS"
Line: "T'as une grande gueule, toi !"
Type: "dialogue"
Name: "THOMAS"
Line: "(tchip)"
Type: "reaction"
Name: "FISTOS"
Line: "Viens par l…, on s'en va."
Type: "dialogue"
Name: "JIMMY"
Line: "C'est ‡a, vas-y cours !"
Type: "dialogue"
Name: "VOIX-OFF FEMME"
Line: "Chaque g‚n‚ration"
Type: "dialogue"
Name: "VOIX-OFF FEMME"
Line: "doit"
Type: "dialogue"
Name: "VOIX-OFF FEMME"
Line: "dans une obscurit‚ relative"
Type: "dialogue"
Name: "VOIX-OFF FEMME"
Line: "d‚couvrir sa propre mission,"
Type: "dialogue"
Name: "VOIX-OFF FEMME"
Line: "la remplir"
Type: "dialogue"
Name: "VOIX-OFF FEMME"
Line: "ou la trahir."
Type: "dialogue"
Name: "NOZIPHO"
Line: "Tu pourrais frapper ?"
Type: "dialogue"
Name: "NOZIPHO"
Line: "Comment c'‚tait ?"
Type: "dialogue"
Name: "NOZIPHO"
Line: "Qu'est-ce que t'as ?"
Type: "dialogue"
Name: "FISTOS"
Line: "Rien"
Type: "dialogue"
Name: "NOZIPHO"
Line: "Qu'est-ce que t'as ?"
Type: "dialogue"
Name: "FISTOS"
Line: "J'ai dit"
Type: "dialogue"
Name: "FISTOS"
Line: "rien !"
Type: "dialogue"
Name: "AUNTIE"
Line: "Fistos!"
Type: "dialogue"
Name: "AUNTIE"
Line: "Fistos !"
Type: "dialogue"
Name: "AUNTIE"
Line: "D‚pˆche-toiÿ! On va ˆtre en retard"
Type: "dialogue"
Name: "AUNTIE"
Line: "Fistos!"
Type: "dialogue"
Name: "AUNTIE"
Line: "R‚veille-toiÿ!"
Type: "dialogue"
Name: "AUNTIE"
Line: "Il est temps d'aller … l'‚glise !"
Type: "dialogue"
Name: "FISTOS"
Line: "(reac)"
Type: "reaction"
Name: "AUNTIE"
Line: "hum hum"
Type: "dialogue"
Name: "AUNTIE"
Line: "hum"
Type: "dialogue"
Name: "AUNTIE"
Line: "D‚pˆche-toiÿ! Il faut aller … l'‚glise"
Type: "dialogue"
Name: "NOZIPHO"
Line: "T'as de beaux rŠves … cque j'vois."
Type: "dialogue"
Name: "FISTOS"
Line: "(reac)"
Type: "reaction"
Name: "NOZIPHO"
Line: "(rire)"
Type: "reaction"
Name: "CASPER"
Line: "Bonjour, Madame !"
Type: "dialogue"
Name: "AUNTIE"
Line: "Bonjour, Casper"
Type: "dialogue"
Name: "AUNTIE"
Line: "Tu ne viens pas … l'‚gliseÿ?"
Type: "dialogue"
Name: "CASPER"
Line: "Je viendrai plus tard"
Type: "dialogue"
Name: "AUNTIE"
Line: "Bien"
Type: "dialogue"
Name: "OLD REVEREND"
Line: "Ce"
Type: "dialogue"
Name: "OLD REVEREND"
Line: "verset"
Type: "dialogue"
Name: "OLD REVEREND"
Line: "montre bien"
Type: "dialogue"
Name: "OLD REVEREND"
Line: "que le Seigneur"
Type: "dialogue"
Name: "OLD REVEREND"
Line: "a pr‚venu"
Type: "dialogue"
Name: "OLD REVEREND"
Line: "les enfants"
Type: "dialogue"
Name: "OLD REVEREND"
Line: "d'Isra‰l,"
Type: "dialogue"
Name: "OLD REVEREND"
Line: "qu'ils"
Type: "dialogue"
Name: "OLD REVEREND"
Line: "ne devaient pas"
Type: "dialogue"
Name: "OLD REVEREND"
Line: "offrir des priŠres aux statues."
Type: "dialogue"
Name: "OLD REVEREND"
Line: "Qu'ils devaient mettre un terme"
Type: "dialogue"
Name: "OLD REVEREND"
Line: "… leurs mauvaises habitudes,"
Type: "dialogue"
Name: "OLD REVEREND"
Line: "Mais ils n'ont pas ‚cout‚."
Type: "dialogue"
Name: "OLD REVEREND"
Line: "Ils ‚taient aussi tˆtus que leurs pŠres."
Type: "dialogue"
Name: "OLD REVEREND"
Line: "Mes enfants,"
Type: "dialogue"
Name: "OLD REVEREND"
Line: "Le Seigneur,"
Type: "dialogue"
Name: "OLD REVEREND"
Line: "voudrait que nous vivions en harmonie"
Type: "dialogue"
Name: "OLD REVEREND"
Line: "les uns avec les autres"
Type: "dialogue"
Name: "OLD REVEREND"
Line: "en commen‡ant,"
Type: "dialogue"
Name: "OLD REVEREND"
Line: "par les dix commandements."
Type: "dialogue"
Name: "OLD REVEREND"
Line: "®ÿHonore ton pŠre et ta mŠreÿ¯"
Type: "dialogue"
Name: "OLD REVEREND"
Line: "pas seulement pour aimer tous ceux qui nous aiment, notre famille et nos amis,"
Type: "dialogue"
Name: "OLD REVEREND"
Line: "et nos proches"
Type: "dialogue"
Name: "OLD REVEREND"
Line: "mais aussi pour aimer et pardonner tous ceux qui nous veulent du mal"
Type: "dialogue"
Name: "OLD REVEREND"
Line: "et bien s–r, c'est impossible"
Type: "dialogue"
Name: "OLD REVEREND"
Line: "Sauf..."
Type: "dialogue"
Name: "OLD REVEREND"
Line: "A travers le pouvoir"
Type: "dialogue"
Name: "OLD REVEREND"
Line: "du Seigneur, qui nous aime."
Type: "dialogue"
Name: "OLD REVEREND"
Line: "Que Dieu vous b‚nisse mes enfants"
Type: "dialogue"
Name: "OLD REVEREND"
Line: "Amen"
Type: "dialogue"
Name: "ALL"
Line: "Amen"
Type: "dialogue"
Name: "OLD REVEREND"
Line: "Comme vous le savez tous"
Type: "dialogue"
Name: "OLD REVEREND"
Line: "je pars … la retraite."
Type: "dialogue"
Name: "OLD REVEREND"
Line: "hem.."
Type: "dialogue"
Name: "OLD REVEREND"
Line: "Voici le R‚v‚rend Sirote."
Type: "dialogue"
Name: "OLD REVEREND"
Line: "C'est lui qui prendra d‚sormais ma place"
Type: "dialogue"
Name: "REVEREND SEROTE"
Line: "Bonjour … tous"
Type: "dialogue"
Name: "NOZIPHO"
Line: "Bonjour r‚v‚rend."
Type: "dialogue"
Name: "ALL"
Line: "Bon-jour."
Type: "dialogue"
Name: "CASPER"
Line: "(siffle)"
Type: "reaction"
Name: "CASPER"
Line: "(rire..)"
Type: "reaction"
Name: "CASPER"
Line: "FISTOS !"
Type: "dialogue"
Name: "CASPER"
Line: "Comment ‡a va ?"
Type: "dialogue"
Name: "CASPER"
Line: "(rire)"
Type: "reaction"
Name: "FISTOS"
Line: "Salut, ‡a va ?"
Type: "dialogue"
Name: "FISTOS"
Line: "Bien"
Type: "dialogue"
Name: "FISTOS"
Line: "Super"
Type: "dialogue"
Name: "CASPER"
Line: "OK"
Type: "dialogue"
Name: "CASPER"
Line: "On y vaÿ?"
Type: "dialogue"
Name: "FISTOS"
Line: "Bien s–r"
Type: "dialogue"
Name: "FISTOS"
Line: "(reac)"
Type: "reaction"
Name: "FISTOS"
Line: "Cas.."
Type: "dialogue"
Name: "CASPER"
Line: "Aaaaa"
Type: "dialogue"
Name: "CASPER"
Line: "Tu me l'as rapport‚"
Type: "dialogue"
Name: "CASPER"
Line: "Elle est bien, non ?"
Type: "dialogue"
Name: "FISTOS"
Line: "Ma mŠre l'aurait trouv‚"
Type: "dialogue"
Name: "CASPER"
Line: "Crois-moi,"
Type: "dialogue"
Name: "CASPER"
Line: "ta mŠre ne doit pas s'inqui‚ter"
Type: "dialogue"
Name: "FISTOS"
Line: "(rire)"
Type: "reaction"
Name: "CASPER"
Line: "Bon, allez, je le garde"
Type: "dialogue"
Name: "CASPER"
Line: "Allez"
Type: "dialogue"
Name: "CASPER"
Line: "Fistos"
Type: "dialogue"
Name: "CASPER"
Line: "Tu veux bien"
Type: "dialogue"
Name: "CASPER"
Line: "faire mes devoirs … ma place?"
Type: "dialogue"
Name: "FISTOS"
Line: "Ahh mon pote,"
Type: "dialogue"
Name: "FISTOS"
Line: "je t'ai d‚j… dit que tu dois les faire toi meme."
Type: "dialogue"
Name: "CASPER"
Line: "C'est la derniŠre fois."
Type: "dialogue"
Name: "CASPER"
Line: "jt'assure"
Type: "dialogue"
Name: "CASPER"
Line: "Alors ?"
Type: "dialogue"
Name: "FISTOS"
Line: "Je vais y r‚fl‚chir"
Type: "dialogue"
Name: "CASPER"
Line: "Tu vas y r‚fl‚chir ?"
Type: "dialogue"
Name: "CASPER"
Line: "OK"
Type: "dialogue"
Name: "CASPER"
Line: "Fistos !"
Type: "dialogue"
Name: "CASPER"
Line: "Cours, il y a Thomas!"
Type: "dialogue"
Name: "CASPER"
Line: "H‚, reviensÿ! C'‚tait pour rire"
Type: "dialogue"
Name: "CASPER"
Line: "(rire.......)"
Type: "reaction"
Name: "CASPER"
Line: "Jt'ai bien eu cette fois"
Type: "dialogue"
Name: "CASPER"
Line: "On y vaÿ?,"
Type: "dialogue"
Name: "FISTOS"
Line: "Je te ferai plus tes devoirs"
Type: "dialogue"
Name: "CASPER"
Line: "Hein ?"
Type: "dialogue"
Name: "CASPER"
Line: "Fistos,"
Type: "dialogue"
Name: "CASPER"
Line: "h‚, MCS"
Type: "dialogue"
Name: "CASPER"
Line: "Je plaisantais !"
Type: "dialogue"
Name: "FISTOS"
Line: "Thomas nous mŠne vraiment la vie dure"
Type: "dialogue"
Name: "CASPER"
Line: "ahh"
Type: "dialogue"
Name: "CASPER"
Line: "Tu vois ce Thomas"
Type: "dialogue"
Name: "CASPER"
Line: "un jour, jte jure,"
Type: "dialogue"
Name: "CASPER"
Line: "‚coute bien mes paroles, j'vais le prendre comme ‡a...."
Type: "dialogue"
Name: "CASPER"
Line: "(reac.............................)"
Type: "reaction"
Name: "CASPER"
Line: "je vais lui foutre une racl‚e … la Bruce Lee"
Type: "dialogue"
Name: "CASPER"
Line: "(reac.....................)"
Type: "reaction"
Name: "MALE TEACHER"
Line: "Les jeux d'argent sont interdits dans l'‚tablissement scolaire"
Type: "dialogue"
Name: "MALE TEACHER"
Line: "Aha"
Type: "dialogue"
Name: "MALE TEACHER"
Line: "Qu'est-ce que tu portes l… ?"
Type: "dialogue"
Name: "AUNTIE"
Line: "Thomas,"
Type: "dialogue"
Name: "MALE TEACHER"
Line: "Aaaaah"
Type: "dialogue"
Name: "AUNTIE"
Line: "reviens ici !"
Type: "dialogue"
Name: "AUNTIE"
Line: "Mais quel genre d'uniforme tu portesÿ?"
Type: "dialogue"
Name: "MALE TEACHER"
Line: "Hein"
Type: "dialogue"
Name: "AUNTIE"
Line: "Hein ! Un couteauÿ! A l'‚cole !"
Type: "dialogue"
Name: "THOMAS"
Line: "Vous feriez mieux de me rendre mon couteau ..."
Type: "dialogue"
Name: "MALE TEACHER"
Line: "Thomas,"
Type: "dialogue"
Name: "MALE TEACHER"
Line: "Est-ce que tu viens ici pour ‚tudier ou pour te battre ?"
Type: "dialogue"
Name: "THOMAS"
Line: "Je suis ici"
Type: "dialogue"
Name: "THOMAS"
Line: "pour ‚tudier,"
Type: "dialogue"
Name: "AUNTIE"
Line: "Va tout de suite dans le bureau du directeurÿ! On en parlera l…-bas !"
Type: "dialogue"
Name: "JIMMY"
Line: "(rire)"
Type: "reaction"
Name: "MALE TEACHER"
Line: "€a te fait rire ?!"
Type: "dialogue"
Name: "THOMAS"
Line: "Quoi encore ?"
Type: "dialogue"
Name: "MALE TEACHER"
Line: "Thomas"
Type: "dialogue"
Name: "MALE TEACHER"
Line: "Le bureau du directeur, c'est par l…"
Type: "dialogue"
Name: "AUNTIE"
Line: "H‚ !"
Type: "dialogue"
Name: "AUNTIE"
Line: "Thomas"
Type: "dialogue"
Name: "MALE TEACHER"
Line: "Thomas"
Type: "dialogue"
Name: "AUNTIE"
Line: "Thomas, reviens ici !"
Type: "dialogue"
Name: "THOMAS"
Line: "Vous ne me faites pas peur,"
Type: "dialogue"
Name: "THOMAS"
Line: "Regardez-moi !"
Type: "dialogue"
Name: "THOMAS"
Line: "Je reviens"
Type: "dialogue"
Name: "THOMAS"
Line: "et je foutrai le feu … toute l'‚cole !"
Type: "dialogue"
Name: "JIMMY"
Line: "Bien dit."
Type: "dialogue"
Name: "AUNTIE"
Line: "Qu'est-ce que vous attendez, allez en classe !"
Type: "dialogue"
Name: "MALE TEACHER"
Line: "Casper !"
Type: "dialogue"
Name: "MALE TEACHER"
Line: "Casper !"
Type: "dialogue"
Name: "AUNTIE"
Line: "Allez, entre, vite"
Type: "dialogue"
Name: "MALE TEACHER"
Line: "Casper!"
Type: "dialogue"
Name: "MALE TEACHER"
Line: "Reviens ici, mon gar‡on,"
Type: "dialogue"
Name: "MALE TEACHER"
Line: "(reac)"
Type: "reaction"
Name: "CASPER"
Line: "Ecoutez, on peut s'arranger."
Type: "dialogue"
Name: "MALE TEACHER"
Line: "Comment expliques-tu ‡a, Casper ?"
Type: "dialogue"
Name: "CASPER"
Line: "Je vous donne quelque chose si vous me laissez filer."
Type: "dialogue"
Name: "MALE TEACHER"
Line: "Mets-toi contre le mur, Casper"
Type: "dialogue"
Name: "CASPER"
Line: "Mais Monsieur, s'il-vous-plait !"
Type: "dialogue"
Name: "MALE TEACHER"
Line: "Mets-toi contre le mur, Casper. Merci."
Type: "dialogue"
Name: "AUNTIE"
Line: "Voil…, monsieur"
Type: "dialogue"
Name: "MALE TEACHER"
Line: "Viens, Casper !"
Type: "dialogue"
Name: "MALE TEACHER"
Line: "Viens, tu me fais perdre mon temps."
Type: "dialogue"
Name: "MALE TEACHER"
Line: "touche tes orteils !,"
Type: "dialogue"
Name: "MALE TEACHER"
Line: "Mets-toi face au mur et touche tes orteils !"
Type: "dialogue"
Name: "MALE TEACHER"
Line: "Casper"
Type: "dialogue"
Name: "MALE TEACHER"
Line: "Ne me fais pas perdre mon temps."
Type: "dialogue"
Name: "CASPER"
Line: "Hmm !"
Type: "dialogue"
Name: "CASPER"
Line: "\"
Type: "reaction"
Name: "MALE TEACHER"
Line: "Ne me regarde pas"
Type: "dialogue"
Name: "MALE TEACHER"
Line: "touche tes orteils, Casper, allez !"
Type: "dialogue"
Name: "CASPER"
Line: "Fistos,"
Type: "dialogue"
Name: "CASPER"
Line: "J'ai pas ‚t‚ puni,"
Type: "dialogue"
Name: "CASPER"
Line: "Je m'en suis bien tir‚, j'ai eu de la chance."
Type: "dialogue"
Name: "CASPER"
Line: "J'‚tais avec ta mŠre,"
Type: "dialogue"
Name: "CASPER"
Line: "l… dehors, elle arretait pas de te chercher"
Type: "dialogue"
Name: "FISTOS"
Line: "Elle ‚tait en colŠre ?"
Type: "dialogue"
Name: "CASPER"
Line: "Oui. Elle veut te voir tout de suite."
Type: "dialogue"
Name: "CASPER"
Line: "C'est mauvais signe"
Type: "dialogue"
Name: "MMATSIETSI"
Line: "Qu'est-ce que tu fais avec le livre de Fistosÿ?"
Type: "dialogue"
Name: "CASPER"
Line: "Ben quoi Mmatsietsi ?"
Type: "dialogue"
Name: "CASPER"
Line: "Donne-le-moi, arrete !"
Type: "dialogue"
Name: "MMATSIETSI"
Line: "Te le donner ?"
Type: "dialogue"
Name: "MMATSIETSI"
Line: "C'est pas notre problŠme si t'as pas fait tes devoirs."
Type: "dialogue"
Name: "CASPER"
Line: "Allez, rends-le"
Type: "dialogue"
Name: "MMATSIETSI"
Line: "Non ! J'ai pas l'intention de te le donner"
Type: "dialogue"
Name: "CASPER"
Line: "Non s‚rieux, fait gaffe … ce que tu fais, aller."
Type: "dialogue"
Name: "MMATSIETSI"
Line: "(rire....................................)"
Type: "reaction"
Name: "CASPER"
Line: "Mmatsietsi, s'il te plaŒt..."
Type: "dialogue"
Name: "CASPER"
Line: "OK... qu'est-ce que tu veux ?"
Type: "dialogue"
Name: "CASPER"
Line: "S'il te plaŒt, Mmatsietsi"
Type: "dialogue"
Name: "MMATSIETSI"
Line: "Fistos !"
Type: "dialogue"
Name: "MMATSIETSI"
Line: "Il essayait de copier tes devoirs"
Type: "dialogue"
Name: "FISTOS"
Line: "Merci !"
Type: "dialogue"
Name: "CASPER"
Line: "Fistos,"
Type: "dialogue"
Name: "CASPER"
Line: "Allez, s'il te plaŒt."
Type: "dialogue"
Name: "CASPER"
Line: "S'il te plaŒt... c'est la derniŠre fois"
Type: "dialogue"
Name: "CASPER"
Line: "C'‚tait pour rire"
Type: "dialogue"
Name: "MALE TEACHER 2"
Line: "Monsieur,"
Type: "dialogue"
Name: "MALE TEACHER 2"
Line: "avec tout le respect que je vous dois,"
Type: "dialogue"
Name: "MALE TEACHER 2"
Line: "nous avons tous ‚t‚ form‚s pour enseigner en fran‡ais... comment pouvez-vous vous attendre … ce que nous donnions nos cours en anglais ?"
Type: "dialogue"
Name: "MALE TEACHER 3"
Line: "Il a raison,"
Type: "dialogue"
Name: "MALE TEACHER 3"
Line: "les ‚tudiants ne connaissent pas l'anglais"
Type: "dialogue"
Name: "MALE TEACHER 3"
Line: "Que se passera-t-il quand les cours de math et d'histoire seront dispens‚s en anglais ?"
Type: "dialogue"
Name: "MALE TEACHER 3"
Line: "Moi, je dis NON … l'anglais."
Type: "dialogue"
Name: "MR. MOLEFE"
Line: "Je vous en prie, calmez-vous !"
Type: "dialogue"
Name: "AUNTIE"
Line: "Non, Non, Non Mr. Molefe,"
Type: "dialogue"
Name: "AUNTIE"
Line: "Je suggŠre que chacun exprime ce qu'il pense,"
Type: "dialogue"
Name: "AUNTIE"
Line: "convoquez tout le monde dans le d‚partement et ‚coutons ce qu'ils ont … dire … ce propos"
Type: "dialogue"
Name: "MALE TEACHER 2"
Line: "Comme s'ils allaient ‚couter ?"
Type: "dialogue"
Name: "AUNTIE"
Line: "Cela vaut la peine d'essayer !"
Type: "dialogue"
Name: "MALE TEACHER 2"
Line: "Vous savez ce qu'on peut faireÿ?"
Type: "dialogue"
Name: "MALE TEACHER 2"
Line: "on pourrait r‚diger un m‚mo … leur intention en leur demandant de rejeter cette directive"
Type: "dialogue"
Name: "AUNTIE"
Line: "Non !"
Type: "dialogue"
Name: "MALE TEACHER 3"
Line: "Vous avez raison !"
Type: "dialogue"
Name: "AUNTIE"
Line: "Non,"
Type: "dialogue"
Name: "AUNTIE"
Line: "non non non"
Type: "dialogue"
Name: "MALE TEACHER 3"
Line: "Vous avez raison !"
Type: "dialogue"
Name: "MR. MOLEFE"
Line: "coutez"
Type: "dialogue"
Name: "AUNTIE"
Line: "Non"
Type: "dialogue"
Name: "MR. MOLEFE"
Line: "Qu'avez-vous … dire ?"
Type: "dialogue"
Name: "AUNTIE"
Line: "Non !"
Type: "dialogue"
Name: "FEMALE TEACHER"
Line: "Je ne veux pas ˆtre impliqu‚e."
Type: "dialogue"
Name: "MALE TEACHER"
Line: "OHHH"
Type: "dialogue"
Name: "MALE TEACHER 2"
Line: "coutez-vousÿ!"
Type: "dialogue"
Name: "MALE TEACHER 2"
Line: "Mr le Directeur !"
Type: "dialogue"
Name: "AUNTIE"
Line: "Vous ne voulez jamais vous impliquer dans rien"
Type: "dialogue"
Name: "MALE TEACHER 2"
Line: "vous ˆtes pourtant … la tˆte de cette ‚cole,"
Type: "dialogue"
Name: "MALE TEACHER 2"
Line: "toutes les d‚cisions sont entre vos mains !"
Type: "dialogue"
Name: "MALE TEACHER 2"
Line: "Qu'en dites-vousÿ?"
Type: "dialogue"
Name: "AUNTIE"
Line: "/"
Type: "reaction"
Name: "AUNTIE"
Line: "Okay,"
Type: "dialogue"
Name: "AUNTIE"
Line: "Quand Jan Van Riebeeck est-il arriv‚ en Afrique du sudÿ?"
Type: "dialogue"
Name: "AUNTIE"
Line: "Nokhoto ?"
Type: "dialogue"
Name: "NOKHOTO"
Line: "En 1682 !"
Type: "dialogue"
Name: "AUNTIE"
Line: "LŠve-toi."
Type: "dialogue"
Name: "CASPER"
Line: "(rire...)"
Type: "reaction"
Name: "ALL"
Line: "(rires...)"
Type: "reaction"
Name: "AUNTIE"
Line: "Casper Matabane,"
Type: "dialogue"
Name: "AUNTIE"
Line: "LŠve"
Type: "dialogue"
Name: "AUNTIE"
Line: "toi !"
Type: "dialogue"
Name: "AUNTIE"
Line: "Nkelete"
Type: "dialogue"
Name: "AUNTIE"
Line: "changez votre place"
Type: "dialogue"
Name: "AUNTIE"
Line: "avec Mr. Matabane"
Type: "dialogue"
Name: "AUNTIE"
Line: "Je vous veux … l'avant"
Type: "dialogue"
Name: "NOZIPHO"
Line: "Je ne sais pas comment ils vont s'en sortir"
Type: "dialogue"
Name: "NOZIPHO"
Line: "quand tout sera enseign‚ en anglais."
Type: "dialogue"
Name: "AUNTIE"
Line: "Ils s'habitueront"
Type: "dialogue"
Name: "NOZIPHO"
Line: "Tu ne peux pas faire une r‚union avec les autres enseignantsÿ?"
Type: "dialogue"
Name: "NOZIPHO"
Line: "pour discuter de ce problŠme ?"
Type: "dialogue"
Name: "AUNTIE"
Line: "Tu veux que je perde mon boulot ?"
Type: "dialogue"
Name: "NOZIPHO"
Line: "Mais ‡a ne peut pas continuer comme ‡a..."
Type: "dialogue"
Name: "AUNTIE"
Line: "Mon enfant,"
Type: "dialogue"
Name: "AUNTIE"
Line: "tout cela ne date pas d'aujourd'hui"
Type: "dialogue"
Name: "AUNTIE"
Line: "et ‡a ne se terminera pas aujourd'hui"
Type: "dialogue"
Name: "AUNTIE"
Line: "Nozipho,"
Type: "dialogue"
Name: "AUNTIE"
Line: "On ne peut en aucune maniŠre d‚sob‚ir au gouvernement,"
Type: "dialogue"
Name: "AUNTIE"
Line: "Cela n'apportera que des ennuis."
Type: "dialogue"
Name: "AUNTIE"
Line: "Tu entends ce que je dis ?"
Type: "dialogue"
Name: "NOZIPHO"
Line: "Oui"
Type: "dialogue"
Name: "AUNTIE"
Line: "Tu entends, Fistos ?"
Type: "dialogue"
Name: "AUNTIE"
Line: "Fistos !"
Type: "dialogue"
Name: "FISTOS"
Line: "Oui ?"
Type: "dialogue"
Name: "AUNTIE"
Line: "Tu as un grand sourire, dis donc... qu'est-ce que tu es en train d'‚tudier ?"
Type: "dialogue"
Name: "FISTOS"
Line: "G‚ographie"
Type: "dialogue"
Name: "AUNTIE"
Line: "G‚ographie ?"
Type: "dialogue"
Name: "FISTOS"
Line: "Oui"
Type: "dialogue"
Name: "AUNTIE"
Line: "(rire)"
Type: "reaction"
Name: "AUNTIE"
Line: "Tiens, c'est tout juste. Tu peux continuer."
Type: "dialogue"
Name: "NOZIPHO"
Line: "Je sais que tu adores tout ‡a..."
Type: "dialogue"
Name: "NOZIPHO"
Line: "...toutes tes planŠtes."
Type: "dialogue"
Name: "NOZIPHO"
Line: "C'est trŠs bien..."
Type: "dialogue"
Name: "NOZIPHO"
Line: "J'aimerais juste que tu..."
Type: "dialogue"
Name: "NOZIPHO"
Line: "ouvres les yeux..."
Type: "dialogue"
Name: "NOZIPHO"
Line: "et que tu voies ce qui se passe autour de toi."
Type: "dialogue"
Name: "NOZIPHO"
Line: "Tu entends ce que je dis ?"
Type: "dialogue"
Name: "FISTOS"
Line: "Comment ‡a ?"
Type: "dialogue"
Name: "NOZIPHO"
Line: "Tu dois ˆtre plus conscient de tout ce qui se passe … Soweto."
Type: "dialogue"
Name: "NOZIPHO"
Line: "On dirait que ‡a ne t'affecte pas ?"
Type: "dialogue"
Name: "NOZIPHO"
Line: "\"
Type: "reaction"
Name: "NOZIPHO"
Line: "Est-ce que tu peux ranger ‡a,"
Type: "dialogue"
Name: "NOZIPHO"
Line: "Je voudrais dormir"
Type: "dialogue"
Name: "FISTOS"
Line: "Mais je n'ai pas fini"
Type: "dialogue"
Name: "NOZIPHO"
Line: "Je suis fatigu‚,"
Type: "dialogue"
Name: "NOZIPHO"
Line: "S'il-te-plait."
Type: "dialogue"
Name: "FISTOS"
Line: "Cher"
Type: "dialogue"
Name: "FISTOS"
Line: "Ange..."
Type: "dialogue"
Name: "FISTOS"
Line: "Mon Ange."
Type: "dialogue"
Name: "FISTOS"
Line: "Tu apportes la lumiŠre,"
Type: "dialogue"
Name: "FISTOS"
Line: "dans mon monde."
Type: "dialogue"
Name: "FISTOS"
Line: "Comme la lune,"
Type: "dialogue"
Name: "FISTOS"
Line: "l'apporte … la terre."
Type: "dialogue"
Name: "FISTOS"
Line: "Tu"
Type: "dialogue"
Name: "FISTOS"
Line: "es comme Mars,"
Type: "dialogue"
Name: "FISTOS"
Line: "pour Pluton."
Type: "dialogue"
Name: "FISTOS"
Line: "Si tu ‚tais Neptune,"
Type: "dialogue"
Name: "FISTOS"
Line: "je"
Type: "dialogue"
Name: "FISTOS"
Line: "serais Saturne."
Type: "dialogue"
Name: "FISTOS"
Line: "Ainsi, nous serions toujours"
Type: "dialogue"
Name: "FISTOS"
Line: "ensemble tous les deux."
Type: "dialogue"
Name: "MODISE"
Line: "Merci pour ton poŠme, Camarade"
Type: "dialogue"
Name: "MODISE"
Line: "RAMENONS!"
Type: "dialogue"
Name: "COMRADES"
Line: "L'A-FRI-QUE NOIRE !"
Type: "dialogue"
Name: "MODISE"
Line: "Camarades,"
Type: "dialogue"
Name: "MODISE"
Line: "c'est la partie de la r‚union"
Type: "dialogue"
Name: "MODISE"
Line: "o— nous devons d‚couvrir ce que disent les ‚tudiants."
Type: "dialogue"
Name: "MODISE"
Line: "Depuis janvier, toutes les le‡ons se donnent en anglais."
Type: "dialogue"
Name: "MODISE"
Line: "Qu'est-ce qui se passeÿ? Qu'est-ce qu'ils disent ?"
Type: "dialogue"
Name: "COMRADE 1"
Line: "Modise,"
Type: "dialogue"
Name: "COMRADE 1"
Line: "L'anglais est toujours obligatoire dans mon ‚cole."
Type: "dialogue"
Name: "COMRADE 1"
Line: "Ils nous forcent … utiliser cette langue."
Type: "dialogue"
Name: "COMRADE 1"
Line: "Hier, le directeur passait de classe en classe pour dire aux enseignants que les sciences et les maths"
Type: "dialogue"
Name: "COMRADE 1"
Line: "devaient ˆtre enseign‚es en anglais. Dites-moi comment on peut r‚ussir dans ces deux matiŠres si elles sont enseign‚es en anglais, alors qu'on a d‚j… du mal … comprendre la langue ?"
Type: "dialogue"
Name: "MODISE"
Line: "Que disent les enseignants ?"
Type: "dialogue"
Name: "COMRADE 1"
Line: "Ils disent qu'on ne peut rien dire ou faire."
Type: "dialogue"
Name: "COMRADE 1"
Line: "On leur dit ce qu'ils doivent faire."
Type: "dialogue"
Name: "MODISE"
Line: "C'est ‡a le problŠme,"
Type: "dialogue"
Name: "MODISE"
Line: "Vous ˆtes en classe"
Type: "dialogue"
Name: "MODISE"
Line: "et le directeur dit"
Type: "dialogue"
Name: "MODISE"
Line: "que l'enseignant doit parler en anglais"
Type: "dialogue"
Name: "MODISE"
Line: "Les ‚tudiants se taisent"
Type: "dialogue"
Name: "COMRADE 1"
Line: "Ils ont peur !"
Type: "dialogue"
Name: "MODISE"
Line: "(reac)"
Type: "reaction"
Name: "MODISE"
Line: "Non, ‚coutez,"
Type: "dialogue"
Name: "MODISE"
Line: "nous devons nous mobiliser. Parler aux ‚tudiants et aux enseignants"
Type: "dialogue"
Name: "NOZIPHO"
Line: "Mais que diront les enseignants ?"
Type: "dialogue"
Name: "MODISE"
Line: "Nozipho !"
Type: "dialogue"
Name: "MODISE"
Line: "Les enseignants"
Type: "dialogue"
Name: "MODISE"
Line: "s'adresseront aux directeurs"
Type: "dialogue"
Name: "MODISE"
Line: "et les directeurs s'adresseront au gouvernement."
Type: "dialogue"
Name: "NOZIPHO"
Line: "Ce n'est pas leur d‚cision,"
Type: "dialogue"
Name: "NOZIPHO"
Line: "nous devons mobiliser les ‚tudiants pour qu'ils passent … l'action."
Type: "dialogue"
Name: "COMRADE 1"
Line: "Oui,"
Type: "dialogue"
Name: "COMRADE 1"
Line: "… l'action"
Type: "dialogue"
Name: "NOZIPHO"
Line: "Nous devons sortir de nos classes,"
Type: "dialogue"
Name: "NOZIPHO"
Line: "br–ler tous nos livres,"
Type: "dialogue"
Name: "NOZIPHO"
Line: "et saccager l'‚cole s'il le faut,"
Type: "dialogue"
Name: "COMRADES"
Line: "Oui, c'est vrai !"
Type: "dialogue"
Name: "NOZIPHO"
Line: "Nous devons passer … l'action, Modise !"
Type: "dialogue"
Name: "MODISE"
Line: "Je vais vous dire une chose."
Type: "dialogue"
Name: "MODISE"
Line: "Mettre le feu … l'‚cole n'est pas une solution,"
Type: "dialogue"
Name: "MODISE"
Line: "On les br–le et aprŠs quoi ?"
Type: "dialogue"
Name: "COMRADE 2"
Line: "Modise,"
Type: "dialogue"
Name: "MODISE"
Line: "O— est-ce qu'on ira … l'‚cole ?"
Type: "dialogue"
Name: "COMRADE 2"
Line: "Je vais vous dire une chose..."
Type: "dialogue"
Name: "MODISE"
Line: "Attendez"
Type: "dialogue"
Name: "MODISE"
Line: "La semaine derniŠre"
Type: "dialogue"
Name: "MODISE"
Line: "nous avons organis‚ une r‚union ici."
Type: "dialogue"
Name: "MODISE"
Line: "Et il y a eu des plaintes"
Type: "dialogue"
Name: "MODISE"
Line: "parce que les classes"
Type: "dialogue"
Name: "MODISE"
Line: "sont surcharg‚es."
Type: "dialogue"
Name: "MODISE"
Line: "Et maintenant, vous voulez br–ler l'‚cole ?"
Type: "dialogue"
Name: "MODISE"
Line: "Vous savez quoi, je pense qu'on a besoin de m‚decins,"
Type: "dialogue"
Name: "MODISE"
Line: "et d'infirmiŠres"
Type: "dialogue"
Name: "MODISE"
Line: "et vous, vous voulez mettre le feu aux ‚coles."
Type: "dialogue"
Name: "COMRADE 3"
Line: "Modise, moi je voudrais dire qu'il ne faut plus impliquer les enseignants"
Type: "dialogue"
Name: "COMRADE 3"
Line: "dans cette affaire."
Type: "dialogue"
Name: "COMRADE 4"
Line: "Je pense"
Type: "dialogue"
Name: "COMRADE 4"
Line: "qu'on a besoin"
Type: "dialogue"
Name: "COMRADE 4"
Line: "d'impliquer les enseignants"
Type: "dialogue"
Name: "COMRADE 4"
Line: "Comme ma prof d'anglais,"
Type: "dialogue"
Name: "COMRADE 4"
Line: "elle nous aide bien"
Type: "dialogue"
Name: "NOZIPHO"
Line: "Mais qu'est-ce qu'elle pourrait bien faire contre les forces de l'ordreÿ?"
Type: "dialogue"
Name: "COMRADES"
Line: "Non, allons"
Type: "dialogue"
Name: "NOZIPHO"
Line: "Qu'est-ce qu'elle pourrait bien faire contre le ministŠre de l'‚ducation ? Qu'est-ce qu'elle pourrait faire contre le systŠme de l'apartheidÿ?"
Type: "dialogue"
Name: "MODISE"
Line: "Nozi ... Nozi ... camarades ..."
Type: "dialogue"
Name: "MODISE"
Line: "tout commence par un seul enseignant,"
Type: "dialogue"
Name: "MODISE"
Line: "un enseignant peut ramener cinq enseignants... et ensuite toute une communaut‚"
Type: "dialogue"
Name: "NOZIPHO"
Line: "Combien de temps cela prend-il ?"
Type: "dialogue"
Name: "MODISE"
Line: "Ca prendra"
Type: "dialogue"
Name: "MODISE"
Line: "autant de temps qu'il le faut."
Type: "dialogue"
Name: "MODISE"
Line: "On ne peut pas simplement participer … ces r‚unions et pers‚cuter les gens."
Type: "dialogue"
Name: "MODISE"
Line: "On ne va pas sortir et rechercher ces gens"
Type: "dialogue"
Name: "MODISE"
Line: "On ne fait pas que participer … une r‚union."
Type: "dialogue"
Name: "MODISE"
Line: "On organise une r‚union toutes les semaines,"
Type: "dialogue"
Name: "MODISE"
Line: "Il faut qu'on soit plus nombreux !"
Type: "dialogue"
Name: "NOZIPHO"
Line: "Est-ce que ‡a les int‚resse ?"
Type: "dialogue"
Name: "MODISE"
Line: "Comment est-ce que ‡a pourrait ne pas les int‚resserÿ?"
Type: "dialogue"
Name: "MODISE"
Line: "C'est comme ‡a"
Type: "dialogue"
Name: "MODISE"
Line: "qu'on gagnera contre l'Apartheid,"
Type: "dialogue"
Name: "MODISE"
Line: "C'est comme ‡a qu'on viendra … bout de ce r‚gime."
Type: "dialogue"
Name: "MODISE"
Line: "Mobiliser nos communaut‚s"
Type: "dialogue"
Name: "MODISE"
Line: "n'est pas"
Type: "dialogue"
The end of the output was cut off by what I assume is a character limit for the post
Any sufficiently advanced technology is indistinguishable from magic.

- Arthur C. Clarke

Saira

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 22
    • View Profile
    • Donate to Member
it looks good ...
can you tell me what kinda result we getting in  csv or what ever ?
Thanks

Krishean

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 75
  • I like pie
    • View Profile
    • Draconis Labs
    • Donate to Member
Here's everything that was detected as a reaction:

>cscript /nologo script.js
Name: "NOZIPHO"
Line: "(RIRE...........................)"
Type: "reaction"
Name: "AUNTIE"
Line: "\"
Type: "reaction"
Name: "FISTOS"
Line: "\"
Type: "reaction"
Name: "CASPER"
Line: "(sifflant.....)"
Type: "reaction"
Name: "CASPER"
Line: "(sifflant.....)"
Type: "reaction"
Name: "CASPER"
Line: "(rire.......)"
Type: "reaction"
Name: "CASPER"
Line: "(REAC)"
Type: "reaction"
Name: "CASPER"
Line: "(reac............................................................)"
Type: "reaction"
Name: "CASPER"
Line: "(REAC)"
Type: "reaction"
Name: "FISTOS"
Line: "(reac)"
Type: "reaction"
Name: "AUNTIE"
Line: "(reac.......)"
Type: "reaction"
Name: "NOZIPHO"
Line: "(reac.....................)"
Type: "reaction"
Name: "AUNTIE"
Line: "\"
Type: "reaction"
Name: "AUNTIE"
Line: "(reac)"
Type: "reaction"
Name: "AUNTIE"
Line: "(rire)."
Type: "reaction"
Name: "FISTOS"
Line: "(BISOUS)"
Type: "reaction"
Name: "MMATSIETSI"
Line: "(rire.............................)"
Type: "reaction"
Name: "JIMMY"
Line: "(Tu n'as pas ‚t‚ invit‚,)"
Type: "reaction"
Name: "CASPER"
Line: "(rire........)"
Type: "reaction"
Name: "CASPER"
Line: "(rire................)"
Type: "reaction"
Name: "CASPER"
Line: "(rire............................)"
Type: "reaction"
Name: "FISTOS"
Line: "\"
Type: "reaction"
Name: "THOMAS"
Line: "(tchip)"
Type: "reaction"
Name: "FISTOS"
Line: "(reac)"
Type: "reaction"
Name: "FISTOS"
Line: "(reac)"
Type: "reaction"
Name: "NOZIPHO"
Line: "(rire)"
Type: "reaction"
Name: "CASPER"
Line: "(siffle)"
Type: "reaction"
Name: "CASPER"
Line: "(rire..)"
Type: "reaction"
Name: "CASPER"
Line: "(rire)"
Type: "reaction"
Name: "FISTOS"
Line: "(reac)"
Type: "reaction"
Name: "FISTOS"
Line: "(rire)"
Type: "reaction"
Name: "CASPER"
Line: "(rire.......)"
Type: "reaction"
Name: "CASPER"
Line: "(reac.............................)"
Type: "reaction"
Name: "CASPER"
Line: "(reac.....................)"
Type: "reaction"
Name: "JIMMY"
Line: "(rire)"
Type: "reaction"
Name: "MALE TEACHER"
Line: "(reac)"
Type: "reaction"
Name: "CASPER"
Line: "\"
Type: "reaction"
Name: "MMATSIETSI"
Line: "(rire....................................)"
Type: "reaction"
Name: "AUNTIE"
Line: "/"
Type: "reaction"
Name: "CASPER"
Line: "(rire...)"
Type: "reaction"
Name: "ALL"
Line: "(rires...)"
Type: "reaction"
Name: "AUNTIE"
Line: "(rire)"
Type: "reaction"
Name: "NOZIPHO"
Line: "\"
Type: "reaction"
Name: "MODISE"
Line: "(reac)"
Type: "reaction"
Name: "CASPER"
Line: "(rire)"
Type: "reaction"
Name: "FISTOS"
Line: "(rire..........)"
Type: "reaction"
Name: "CASPER"
Line: "(rire.........................)"
Type: "reaction"
Name: "CASPER"
Line: "(rire.............) hein ?"
Type: "reaction"
Name: "FISTOS"
Line: "(Elle chante super bien)"
Type: "reaction"
Name: "CASPER"
Line: "(rire......)"
Type: "reaction"
Name: "CASPER"
Line: "/"
Type: "reaction"
Name: "CASPER"
Line: "(reac)"
Type: "reaction"
Name: "CASPER"
Line: "(reac)"
Type: "reaction"
Name: "MODISE"
Line: "(rire...)"
Type: "reaction"
Name: "REVEREND SEROTE"
Line: "/"
Type: "reaction"
Name: "CHOIR CONDUCTOR"
Line: "(rire)"
Type: "reaction"
Name: "CASPER"
Line: "(singing.............................................................)"
Type: "reaction"
Name: "FISTOS"
Line: "(chant discret...............)"
Type: "reaction"
Name: "AMB FILLES"
Line: "(rires....................)"
Type: "reaction"
Name: "AMB FILLES"
Line: "(rires...........................................)"
Type: "reaction"
Name: "CASPER"
Line: "(Plus prŠs)"
Type: "reaction"
Name: "CASPER"
Line: "(rire...)"
Type: "reaction"
Name: "CASPER"
Line: "(reac)"
Type: "reaction"
Name: "CASPER"
Line: "(Plus prŠs..."
Type: "reaction"
Name: "FISTOS"
Line: "(rire)"
Type: "reaction"
Name: "CASPER"
Line: "(rire.......................................)"
Type: "reaction"
Name: "CASPER"
Line: "(Plus prŠs)"
Type: "reaction"
Name: "CASPER"
Line: "(rire)"
Type: "reaction"
Name: "CASPER"
Line: "(tchip)"
Type: "reaction"
Name: "CASPER"
Line: "(rire)"
Type: "reaction"
>Exit code: 0

And I have not yet written the code to generate statistics and output the csv file, but I will try to make it match the image you posted as closely as possible.
Any sufficiently advanced technology is indistinguishable from magic.

- Arthur C. Clarke

Saira

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 22
    • View Profile
    • Donate to Member
ok Sure . but if you have other csv forat inwhuch every thing will look ok
thn its ok too

TaoPhoenix

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,642
    • View Profile
    • Donate to Member
Just a word of support, I like charts and numbers, that's a beautiful graphic of something I never thought of! (Number of lines per actor/character per episode).


Krishean

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 75
  • I like pie
    • View Profile
    • Draconis Labs
    • Donate to Member
Here's the code so far, I probably won't have much time to work on it until the end of the week. To get it running I recommend opening it with SciTE: http://prdownloads.s.../scintilla/Sc304.exe you will also need LibreOffice installed.

Code: Javascript [Select]
  1. function echo(a){return WScript.Echo(a);}
  2. function exit(a){return WScript.Quit(a);}
  3.  
  4. var fso=WScript.CreateObject('Scripting.FileSystemObject');
  5. var wshell=WScript.CreateObject('WScript.Shell');
  6.  
  7. exit(main());
  8. function main(){
  9.         // delete old convert.bat if it exists
  10.         if(fso.FileExists('convert.bat'))fso.DeleteFile('convert.bat',true);
  11.         var bat='@echo off\r\n'+
  12.                 'set soffice=%ProgramFiles(x86)%\\LibreOffice\\program\\soffice.exe\r\n'+
  13.                 'for /f "delims=*" %%a in (\'dir /b *.rtf,*.doc,*.docx\') do (\r\n'+
  14.                 '    "%soffice%" --headless --convert-to txt:Text --outdir "tempfiles" "%%a"\r\n'+
  15.                 ')\r\ndel %0\r\n@exit\r\n';
  16.         // create new convert.bat
  17.         file_put_contents('convert.bat',bat);
  18.         // run convert.bat, it should delete itself once it has finished
  19.         echo('Converting files, please wait...');
  20.         wshell.Run('convert.bat',0,true);
  21.         echo('Done converting files, processing...');
  22.         echo('----------');
  23.         // get all files in the tempfiles directory
  24.         var files=new Enumerator(fso.GetFolder('tempfiles').Files);
  25.         // step through the files and process each of them
  26.         for(files.moveFirst();!files.atEnd();files.moveNext()){
  27.                 var file=fso.GetFile(files.item());
  28.                 process(file.ParentFolder+'\\'+file.name);
  29.         }
  30.         echo('----------');
  31.         echo('Done processing, exiting.');
  32.         return 0;
  33. }
  34.  
  35. function process(file){
  36.         var arr=safe_split(file_get_contents(file));
  37.         for(var i=2;i<arr.length;i++){ // skip first two lines, they are a header
  38.                 arr[i]=trim(arr[i]);
  39.                 if(arr[i].length>0&& // test for and exclude blank items
  40.                     !(/^\d+$/).test(arr[i])&& // test for and exclude items that are only numbers
  41.                     !(/^\(.*\)$/).test(arr[i])){ // test for and exclude items starting with ( and ending with )
  42.                         var t=arr[i].split('\t'); // split the item into name and line
  43.                         if(t.length==2){
  44.                                 var name=trim(t[0]),line=trim(t[1]),type='dialogue';
  45.                                 // check for reaction lines
  46.                                 if(line.length>0&&
  47.                                     ((/^\([^\)]*\)\.?$/).test(line)||line=='\\' || line=='/'))
  48.                                         type='reaction';
  49.                                 //if(type=='reaction')
  50.                                         echo('Name: "'+name+'"\n\tLine: "'+line+'"\n\tType: "'+type+'"');
  51.                         }else echo("Error: Line may have more than one tab character!");
  52.                 }
  53.         }
  54. }
  55.  
  56. function file_get_contents(filename){
  57.         var ptr=fso.OpenTextFile(filename,1,false);
  58.         var str=new String(ptr.ReadAll());
  59.         ptr.Close();
  60.         return str;
  61. }
  62.  
  63. function file_put_contents(filename,data){
  64.         var ptr=fso.CreateTextFile(filename,true);
  65.         ptr.Write(data);
  66.         ptr.Close();
  67.         return;
  68. }
  69.  
  70. function safe_split(s){return s.replace(/\r\n/g,'\n').replace(/\r/g,'\n').split('\n');}
  71. function trim(s){return s.replace(/^[\s\t\r\n]+/,'').replace(/[\s\t\r\n]+$/,'');}
  72.  
  73. function csv_escape_field(){}
  74.  
  75. function print_r(){
  76.        
  77. }
Any sufficiently advanced technology is indistinguishable from magic.

- Arthur C. Clarke

Saira

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 22
    • View Profile
    • Donate to Member
Csv export functions are left
and the part that keeps the stats
but it does parse the scripts and converts them to text using LibreOffice

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,629
    • View Profile
    • Donate to Member
I've finished a rough first version. It only handles .rtf files, and is command-line controlled for now, but it works :)

The pre-requisite is to have Sun/Oracle Java 6 installed, grab JRE 6 release 31 here. (Though not yet tested with Java 7, it should work fine)

The get the download from my (DC supplied) webspace, unzip into some directory, open a command prompt there, and use a command-line like:

Code: Text [Select]
  1. ScriptLineCounter -p scriptfilesdir -x scripttitle.xlsx

It expects a subdirectory called scriptfiles, as specified by -p (if spaces are involved use double-quotes around the name), processes all files with .rtf extension, and creates an Excel file (.xls or .xlsx as specified) in the current directory with the name supplied at the -x parameter.

I'll be working on .doc and .docx support, and a GUI for easier 'control'. And a readme also has to be supplied :tellme:

Questions/support in this thread for now, I'll officially release in a separate thread if it's a bit more mature :-[

Krishean

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 75
  • I like pie
    • View Profile
    • Draconis Labs
    • Donate to Member
Here are the missing functions, csv_escape_field was written in PHP, I translated it to javascript. I'm not sure when I'll have some free time to work on this again.

Code: Javascript [Select]
  1. function csv_escape_field(str){
  2.         return((str.indexOf(',')!=-1||str.indexOf('"')!=-1)?'"'+str.replace(/"/g,'""')+'"':str);
  3. }
  4.  
  5. function print_r(array,return_val){
  6.         var output='',pad_char=' ',pad_val=4,
  7.         repeat_char=function(len,pad_char){var str='';for(var i=0;i<len;i++)str+=pad_char;return str;},
  8.         formatArray=function(obj,cur_depth,pad_val,pad_char){
  9.                 var base_pad=repeat_char(pad_val*cur_depth,pad_char);
  10.                 var thick_pad=repeat_char(pad_val*(cur_depth+1),pad_char);
  11.                 var str='';
  12.                 try{
  13.                 if(typeof(obj) == 'object' && !(obj === null || obj === undefined)){
  14.                         var typ=new String(obj.constructor);
  15.                         str += typ.substring(typ.indexOf(' ')+1,typ.indexOf('('))+'\n' + base_pad + '(\n';
  16.                         for (var key in obj) {
  17.                                 if(typeof(obj[key]) == 'object'){
  18.                                         str += thick_pad + '[' + key + '] => ' + formatArray(obj[key], cur_depth + 1, pad_val, pad_char) + '\n';
  19.                                 }else{
  20.                                         str += thick_pad + '[' + key + '] => "' + obj[key] + '"\n';
  21.                                 }
  22.                         }
  23.                         str+=base_pad+')';
  24.                 }else str=obj.toString();
  25.                 }catch(err){}
  26.                 return str;
  27.         };
  28.         output=formatArray(array,0,pad_val,pad_char);
  29.         if(return_val!==true){echo(output);return true;}
  30.         return output;
  31. }
Any sufficiently advanced technology is indistinguishable from magic.

- Arthur C. Clarke

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,629
    • View Profile
    • Donate to Member
I updated ScriptLineCounter to version 1.1.0.0

What's new/changed:
  • Process .doc/.docx MS-Word files
  • Process .txt files as a bonus
  • Included a ScriptLineCounter-sample.ini file, copy to ScriptLineCounter.ini and enable the desired settings/titles
  • Titles in the output .xls/.xlsx file can be set in the ScriptLineCounter.ini
  • Improved error handling if one of the required lib/*.jar files is missing
  • Corrected the scriptlinecounter.sh file, it still had Excel2Html stuff there :huh:

TODO: (in random order)
  • Write a Readme.txt file
  • Create a GUI interface
  • Fix any bugs or issues reported (0 until now :))

Download:

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,629
    • View Profile
    • Donate to Member
Updated ScriptLineCounter to version 1.1.0.1

What's new/changed:
  • Fixed: Process .doc MS-Word files (left behind some debugging stuff :-[)
  • Added: [IgnoreCharacters] section in the ScriptLineCounter.ini to ignore specific character names

TODO: (in random order)
  • Write a Readme.txt file
  • Create a GUI interface
  • Fix any bugs or issues reported (1 until now :o)

Download:

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,629
    • View Profile
    • Donate to Member
Updated ScriptLineCounter to version 1.2.0.0

What's new/changed:
  • Improved: Spoken-lines detection
  • Improved: Detection of Characters with accented (unicode) characters
  • Improved: Episode-number detection
  • Improved: Count line for all characters if multiple characters speak
  • Added: Sort by total lines-count (-s) instead of in order of appearance (default)
  • Added: Filter detected lines for a selection of characters to console (-m)
  • Added: [CharacterNames] section in ScriptLineCounter.ini, for mapping Characters to Actor names

TODO: (in random order)
  • Write a Readme.txt file
  • Create a GUI interface
  • Add some unexpected features :)
  • Fix any bugs or issues reported (1 until now :o)

Download:

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,629
    • View Profile
    • Donate to Member
Updated ScriptLineCounter to version 1.2.0.1

What's new/changed:
  • Fixed: Bug with silly issue of character name upper/lower/mixed-case :-[

TODO: (in random order)
  • Write a Readme.txt file
  • Create a GUI interface
  • Add some unexpected features :)
  • Fix any bugs or issues reported (2 until now :o)

Download:

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,629
    • View Profile
    • Donate to Member
Updated ScriptLineCounter to version 1.3.0.0

What's new/changed:
Version 1.3.0.0:
  • Added: GUI mode, but just in beta mode for now (-gui), using Swing with MigLayout, still a lot to add and improve
  • Improved: Layout according to received sample (b/w and some fonts larger)
Version 1.2.1.0: (not actually released :tellme:)
  • Improved: Sort by Lines is now enabled by default
  • Improved: Totals column is now bold
  • Improved: Episode title is now right-aligned to better mate with episode titles
  • Improved: Less verbose if matchVerbose was added from .ini
  • Added: SortByName (-n) overrides -s
  • Added: Alternate grey/white background (-a), default enabled
  • Added: Zero counts are now suppressed by default, -z enables zeroes
  • Improved: Code changes/refactoring
  • Added: Changelog.txt.file, extension .file because .txt is excluded from svn commit

TODO: (in random order)
  • Write a Readme.txt file
  • Create a GUI interface
  • Improve and expand the GUI interface
  • Possibly add headers and footers to the output
  • Add some unexpected features :)
  • Fix any bugs or issues reported (2 until now :o)

Download:

Screenshot:
Screenshot - 21-03-2012 , 01_16_50.pngText Parsing and Output ( Result in Excel, load multiple DOC,RTF,Word Files )
« Last Edit: March 20, 2012, 07:17 PM by Ath, Reason: added a screenshot »

Saira

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 22
    • View Profile
    • Donate to Member
Ath
Thanks a lot  you have done really good job . accurate thing . that is what i wated  ,,, and yes for what you mentioned in TO DO list
would love to add some more script formats ... and other stuff ...  thr are like few scripts . if we do that .. i am sure 80 % of famous drama scripts will be done ..and will surely provide you other thing .. is thr any possibility to import pdf also ? ... wanted to keep the post alive .
Regards

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,629
    • View Profile
    • Donate to Member
in TO DO list would love to add some more script formats
It's on the list*, just didn't write it in the post  ;)

is thr any possibility to import pdf also ?
Hm, that may depend on the pdf thrown at it. Some don't allow text to be copied/taken from them, depending on settings used during creation. I'll investigate that soon.

... wanted to keep the post alive .
No issue, just a few days of lower activity here because of other obligations :tellme:

* (We've been in contact using mail and irc :))

Saira

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 22
    • View Profile
    • Donate to Member
so it means  hope to see you online today ?
and will provide u just 1 or 2 scripts
rest i already gave you by email
Thanks

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,629
    • View Profile
    • Donate to Member
Just a small ScriptLineCounter status update:
Implemented:
  • Auto-detection of file-format based on content, preference for format with highest matching line count :tellme:
  • Output .xls and .xlsx layout improvements

Working on:
  • GUI bugfixing
  • GUI add missing options/checkboxes
  • GUI settings saved
  • Finally write a proper readme.txt :huh:

Planned for later:
  • Pdf reading
  • Output pagination support (automatic headers/footers)
  • GUI edit options not available from command-line (.ini-only options)

Saira

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 22
    • View Profile
    • Donate to Member
HI
THANKS..
IS IT AVAILABLE TO DOWNLOAD ? WILL WAIT FOR YOU TO COMEONLINE ... NO HURRY . WHEN YOU HAVE TIME LET ME KNOW
THANKS

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,629
    • View Profile
    • Donate to Member
Updated ScriptLineCounter to version 1.3.1.0

What's new/changed:
  • Added: New file format for processing <Character><-/:/(react)><dialogue> files, ignoring most other content
  • Improved: Layout row-height where the font is larger
  • Added: ScriptLineCounter-readme.text as .txt extension is processed too

TODO: (in priority-order)
  • Handle pdf files for input
  • Handle extra file-format extracted from samples received
  • Improve and expand the GUI interface
  • Possibly add headers and footers to the output
  • Add some unexpected features :)
  • Fix any bugs or issues reported (2 until now :o)
  • Write a Readme.txt file
  • Create a GUI interface

Download:
« Last Edit: March 26, 2012, 04:19 PM by Ath, Reason: typo... »

Saira

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 22
    • View Profile
    • Donate to Member
converter worked?
any progress?

Saira

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 22
    • View Profile
    • Donate to Member
IF YOU NEED TO KNOW ANY THIG LET ME KNOW .. PLEASE DO LET ME  KNOW IF CONVERTED SCRIPTS WORKED OR NOT ..HOPE TO SEE YOU ONLINE SOON
THANKS