So I went to saw this tonight. It was a beautiful and moving production and a wonderful meditation on certain important things, but that’s not why I mention it. I mention it because it contained several Chinese songs translated in a way that would have made Walter Benjamin extremely happy. In addition to the inherent charm of such things, I also noted that the illumination that such a thing casts on its original text is not unlike the things I notice looking at chains made from texts to which I am attached. I’m not positive what there is to mine there, but I’m pretty sure it’s worth looking at more closely.
Something about the modifications that I made to the HTML parser since I last used Ulysses as an input text have made it more sensitive to encoding foibles than it was in the past. I guess that’s an important insight into my future. I should really start thinking about a consistent way to handle things like that. For now, another go-round with The Prince.
The Duke Valentino had returned from Lombardy, where he was using, would not be friendly to Pagolo Guinigi in command at Lucca, Castruccio set out for Imola at the summit where the Florentines’ lay, he decided not to err for fear lest they be permitted in a few little fishes, and I do not rule them; and although they formerly made some display and appeared valiant amongst themselves, and this alliance, which caused him to power, and I do not care, and I allow myself to be more loved; and unless extraordinary vices cause him to be able to injure the Bentivogli; and he who conspires against a few, but this they did not allow any of my death with more audacity command her.
Charles the Seventh,(*) the father of Alexander the Great Council was to Julius II finally formed the Holy League against France, and his glory; as also were strangled in the Florentines, and strengthened himself with the rest have failed. Pope Julius the Second Chancery, the Ten of Liberty and Peace. Here we are concerned with those events, and with arms in their day, have had no reason to fear them. But as in carrying them into a chamber hung with silk and paved with fine stones representing flowers and foliage of the expenses of it. A treaty was concluded with them against the quarters of the ability of Moses; that the fortresses, which he overcame with the mountaineers, and worked matters so in Pistoia that both his and others), it so came to a banquet and put them to take vengeance on his right hand, the bases of which it is one of those vices which will always be considered honest, and he who conspires against a few, but this not being possible, he
So I’m in Ashland for the long weekend, but I managed to do some hacking in the plane. Now the generated text includes paragraphs! Exciting. Of course, the process of adding them has made the random text generator 3 times more inefficient, but we can leave that for later. In the mean time, Machiavelli:
In 1500 he was the kingdom of Naples. But let us return whence we started. I say that, on the pursuit of which he was a case of need. When the “History of Florence,” gives us a picture of the Venetians and Florentines formerly extended their dominions by these continual discussions there could be done. In a short time the emperor ceased to hold securely the state, still less in the enterprise, in exchange for the utmost diligence to avoid those things which ought to entertain the people to arms and fortunes of Florence, and Messer Antonio da Venafro as the governments of Europe rely on his back, or if any of my acting thus for thou hast learnt to believe and to the throne, he moved against the other; which course will always be as keys to that kingdom; because, having always kept both orders in their own laws and good faith, and to bring success and honour to him to it. This occurred on the point to die.
I say, therefore, that in entirely new principalities as I said Nabis the Spartan did.
But concerning his intentions. Ugucionne cursed the hesitation and cowardice of his “Art of War.” It was here that Castruccio far excelled his companions in courage and hope with which all difficulties are prior to getting possession, because they fly, but they are about. Therefore a wise and able man to discuss them, because their alliance will bring thee advantages and security. It is seen also that I may catch a whale”; and this is Il Taro, afterwards Allesandria, Capua, Genoa, Vaila, Bologna, Mestri.(*)
When all the other under Pagolo, and the other hand, Castruccio reached Montecarlo with his greatness of the cavalry. The horses, alarmed by the Church
It is seen also that I may catch a whale!
Another picture of the HTML representation of the probability table.
Hopefully this makes a little sense. The word in bold is the current word, the word in the left column is the previous word, and the list of words on the right are words that follow, and the number of times that they occur. Thus we see that “Machiavelli was absent” occurs once in the text, while “Machiavelli was sent” occurs twice. This also means that I’m consuming front matter in which I am not actually interested, so there is more tinkering to be done.
So it was Valentine’s day yesterday and C came up briefly, and then I sat in the bath and read The Line of Beauty and cried softly to myself. Consequently, no post. Today I met some work people for lunch and rolled up to Alberta afterwards. Once I knocked off I got back to work on an HTML representation of the Markov Garden probability table. Here, in lieu of a snippet is a visual fragment of the table generated by Nick Mack’s The Prince.
It still needs a lot of work. When something contains as much information as a Markov Garden table, you have to think a lot about how to format it in such a way as to make it comprehensible. I think what I’m going to to is see what it does with a much smaller string, and build up from there.
So today was kind of theoretical for the most part. I drew a big diagram for something I need to take care of going forward. To be more specific, I outlined how I’d get an easy to read representation of the probability table once it has been built. The reason for this is that right now there is now way to check that the overall structure is working the way that I’d like it to. At some point (like hopefully tomorrow) I have to find a very short document, figure out what I’d like the table built from it to look like by hand, and then compare it to the results from my parser. This will be daunting, but I think it will also be very satisfying.
The Project Gutenberg EBook of Ulysses, by James Joyce — I — Stately, plump Buck Mulligan brought up a nation for I’m living in the art of feudalism as Walt Whitman called it, is gathering together a sheaf of our spirit. We are praying now for the press. –If Bloom were here, the professor said, coming forward. The key scraped round harshly twice and, when it was all about. Wonderful organisation certainly, goes like clockwork. Confession. Everyone wants to. Then I will tell us at doomsday leet. But a long way along the North Circular from the crown and peace
Speaking of not being sure that things are working correctly: the HTML parser is clearly broken, and only the fact that running it takes a million years has kept me from noticing that. Well, at least there is an obvious problem to track down.
So this is the first text produced using the new Nokogiri-based HTML parser unassisted. The process of getting it to work found me looking at a lot of the individual paragraphs of Ulysses on their own, and it made me want to read the book again. We’ll see how long I hold on to that.
The Project Gutenberg EBook of Ulysses, by James Joyce — I — Stately, plump Buck Mulligan wiped again his gem, turned it and put it neatly into her mouth, asking: –What time is that? –Seven d., sir… Thank you, sir. Mr Bloom said. The drain, you mean. –Drain? Lenehan said. It was an infinite great fall of dung, the breeders in hobnailed boots trudging through the meshes of his body laid. Dolor! O, he did. And Jacky Caffrey shouted to look, look, look, look: you look for some money somewhere? Dilly said. Give me my Wordsworth. Enter Magee Mor Matthew,
This is the best one of these that I have put up by some distance.
So tonight was the beginning of an important transition. Up until now, I have been working with text versions of the input texts. This was always a stopgap. Because I was always going to end up parsing stuff that I got off the web in order to generate chains, I knew that eventually I’d want to take advantage of the fact that HTML was already structured to avoid a bunch of stupid guesswork and, of course, to ameliorate the scope of my second problem.
He turned from the metal bridge an instant. –We are a delusion, said roundly John Eglinton censured, have yet to be next some girl. Who is the only colour to his greencapped desklamp sought the face after fifteen years, say. For instance some fellow that had but gotten into him a leg of her allowed that that player Shakespeare, a ghost by absence, and in a low tone to their lights. Father Conmee and Father Conroy got up and look and christian walking, in habit dun beseeming her megrims and wrinkled like little Rudy’s was. Dwarf’s
So mostly I just kind of tinkered with things in a smallish way, but I used “Ulysses” as an input text which mainly matters because it’s fucking enormous. It took a long time and ground pretty hard, so obviously that’s something I’ll need to look into in the future, but here are the results.
And I’ll tell him he needn’t trouble about that little hint she gave a nervous cough and Edy asked her how it fared with the motor. Hooked that nicely. Entertainments. Open house. Big blowout. Wetherup always said that. Get a light bright tinkling measure for tripping ladies, arch and smiling, and for a drink. –God, do you do, Mr Crimmins? First rate, sir. I was with him about getting Molly into the kidney and slapped it out of pinnies. Edy told him no offence and all delighted_… Tenors get wom. Cowley lay back. –Stand
I’d love to be able to read single chapters form “Ulysses” and then compare what each one generates.
So it’s great to be like, “Hey, I’ve got a great idea for something to hack on” and to just sort of go for it. Furthermore, it’s great to take the opportunity to learn a new approach or language (or, in my case, two), but going great guns at it tends to create problems. In my case (and I think it’s a pretty common one), I ended up only being able to access the component parts of my program through its overarching mechanisms, which is pretty much backwards (this is, as you know, not particular to computer programs). Right after my post last night I figured out that some small aspect of my program wasn’t working the way I wanted to, and that I didn’t have any way to access it. Tonight I did a little decomposing, making my components a little more autonomous, and a little more responsive to prodding. Of course, the problem was a stupid typo, but at least I got to the point where I was able to figure that out with a test instead of staring at the code.
This is from the apology again.
But, having regard to public opinion, assumes the same gods which the city recognizes–the charge is five minae.’ Happy is Evenus, I said before about the conclusion. He characteristically remarks that he has embodied his conception of him, appearing in the aspiration of the state acknowledges, but some other new divinities or spiritual agencies (new or old, he is speaking an untruth. Wherefore, O judges, be of good cheer about death, and that the unexamined life is not so ignorant as to those who agree to
It’s sort of cool when you have something that veers this close to actual semantic content, but it isn’t nearly as fun.
So I took some paternal advice and subclassed something instead of wrapping it, and I also tried (without much success) to get the thing to print a summary of the table of probabilities that is used in generating the random text. At any rate, this used Plato’s Apology as input.
Translator: Benjamin Jowett and not far from death. I am almost ashamed to confess that immediately after my departure punishment far heavier than you are mistaken: a man is able to pay, and not to do anything that might pervert the course of his triumph, when he concludes this part of a kind of voice, first began to come forward in public and advise the state. I will tell you. It is an old man already, and the demigods or spirits are gods, and then I dare say that maintenance in