Archive by Author

Introducing My New Microblog

One of the things I love about my blog platform – Typepad
- is that they continually up the ante and introduce amazing new
features for their many users. The latest of these is the
micro-blogging feature, which has been developed with the likes of Twitter and Facebook
in mind. Bloggers are consistently eschewing long blog posts in favour
of short status updates, sharing of media, and keeping up to date with
followers. As someone who has been blogging for almost five years I
have to admit that I am increasingly resorting to micro-blogging as
demands on my time increase and I don’t have as much time to write a
lot of new content. Plus there is a lot of material on the web that I
would like to share without diluting my current blog
with such posts. So, this new platform and area will dovetail my main
blog whilst allowing me to post shorter, media heavy posts for people
to enjoy. I will continue to write longer posts on my main blog, but
this area will mainly be for increasing my connectivity with followers
and readers, and to share content I find all over the net. Enjoy!

P.Viktor – Microblog

Yet more sponsors: Apress and Friends of ED confirm for OGN14 and 15

Following last week’s great news from the Guardian Open Platform about sponsoring the two remaining Oxford Geek Nights, there’s more great news for the Oxford Geek community, as Apress and Friends of ED have also agreed to sponsor OGN14 and OGN15 with books a-plenty.

We try to always have a book raffle at the end of each Oxford Geek Night, where anyone who’s stuck a business card in our magic business-card box gets a chance to win one of several books donated by a generous sponsor. So thanks for Apress for stepping up to the crease and fielding a whole over of books in our direction for OGN14: we’re guaranteed a great selection of books for local geeks, and another great reason for coming along to OGN14. How can you not?

Highlights

Oxford Bloggers has only been going a few weeks, but already there’s a wonderful array of posts and some great photos. Click ‘more’ for some highlights or scroll down to find the best bits yourself…

by kT LindSAy

The Barrow by kT LindSAy

Brennig gave us the imaginary answer to a Daily Mail sex column question, which qualifies for the steamiest post yet. Miranda cracked us up with her description of a trip to River Cottage, which is all the funnier for being the absolute unembellished truth. I posted a video that ends with a moonwalking chicken. Kate posted the wicked barrow photo to the left (and I’m loving the photos from Kate and Garrett that are scattered throughout the stream of text). Ben Werdmuller mused on networked stories, masterfully hyperlinking to a load of interesting resources. And that’s just the tip of the blogberg. ;)

What number was the word ‘bullshit’?

The millionth word in the English language was added last Tuesday morning, at exactly 10:22 am GMT. Well, no it wasn’t, but that didn’t stop Paul Payack of the Global Language Monitor claiming it was: at 10:22 am “Stratford-upon-Avon time”, the millionth word in the English language was announced to be the convenient-for-marketing-purposes phrase web 2.0.

If the outlandish claims of accuracy made by Payack didn’t already induce scepticism—he managed to measure this to the minute?—then the “word” which preceded the millionth should do so. Beating web 2.0 to the punch was the phrase jai ho!, a phrase which apparently gained “popularity” through the film Slumdog Millionaire (the word slumdog itself was apparently word number 999,997).

A quick comparison on Google suggests that web 2.0 is about 100 times more popular than jai ho!; a search on Nexis UK gives around 1,800 citations for jai ho in the year up to 7th June 2009, whereas web 2.0 is used over 2,000 times in the last month alone. It’s hard to see, then, what could cause jai ho to be recognised as entering English before web 2.0, unless, of course, it’s all made up for reasons of publicity and marketing.

For this reason, it was an enjoyable piece of schadenfreude to see Payack being interviewed by Jeremy Paxman on Newsnight who, to Payack’s seeming surprise, opens his questioning with “well this is rubbish this idea of yours, isn’t it?”, and gets more aggressive from there.

Share/Bookmark

Related posts:

  1. A million words in English
  2. The longest word
  3. The Baader-Meinhof Phenomenon

Modules vs Model Classes vs Attribute Classes

‘Dr John Smith’ asked me recently to explain the difference between modules and classes in the TEI.

Modules basically gather together element definitions into a single group. As the TEI P5 Guidelines say:

A module is … simply a convenient way of grouping together a number of associated element declarations. (TEI Modules)

Sometimes, like with the Core module these are grouped together for practical reasons, in most cases, as with the Dictionaries module, this is because the elements are all semantically related to one particular class of text or sort of encoding. An element can only appear in one module.

Each chapter has a corresponding module of elements. In the underlying TEI ODD language, both the prose of that chapter of the Guidelines, and the specifications for all the elements are stored in one file. From this is created both the TEI documentation, and the element definitions used to generate a schema.

The TEI Class system slightly different. While an element can only appear in one module, it can be a member of many classes. While a module is a single unit, classes can contain not only elements (or attributes) but also other classes.

Classes are used to express two distinct kinds of commonality among elements. The elements of a class may share some set of attributes, or they may appear in the same locations in a content model. A class is known as an attribute class if its members share attributes, and as a model class if its members appear in the same locations. In either case, an element is said to inherit properties from any classes of which it is a member. (The TEI Class system)

To enable easier comprehension of the many elements that the TEI Guidelines describe. These elements categorised into classes usually on structural or semantic grounds. The primary division of classes is between attribute classes and model classes. In the first of these, all the elements that are members of the same attribute class share the attributes stored in the definition for that class. For example, the class att.internetMedia contains an attribute @mimeType. There are three members of this attribute class: binaryObject, equiv, and graphic, which means that each of these elements has a @mimeType attribute. Attribute classes may contain other classes, and attributes from a subclass will inherit the attributes from a superclass which contains that subclass.

Elements which are members of model classes are all allowed to appear in the same place. What this means is that in the construction of the content model of an element it will say what content is allowed inside it. In many cases that element will say members of a particular class of elements are able to be used there. One of the benefits of this slight indirection is that if you want a new element you have created to appear in the same places as an existing element, you simply need to add to it that class. For example, the class model.noteLike is used by many elements (and indeed another model class model.global) to allow things which are note-like to be used inside them. The only members of model.noteLike are note and witDetail. So, in any element content model where model.noteLike is referenced, both note and witDetail are able to be used.

You may have noticed that some of the model elements have the suffix ‘Like’ or ‘Part’ in their name. This delineates two types of groupings. If it has ‘Part’ as a suffix, then it is defined by its structural location. For example, members of model.biblPart contains elements which are used inside of the ‘bibl’ element. That is, they are a ‘part’ of that element in the sense of being possibly valid children. However, elements with a ‘Like’ suffix are elements which are of similar semantic nature, and thus able to be used at the same point. For example, model.biblLike contains those elements which are ‘like’ the bibl element in that they contain a bibliographic description of some sort. There are other model classes, such as model.inter which do not contain a ‘Like’ or ‘Part’ suffix, and are convenient groupings of elements (often super classes) that all appear in the same place.

How are modules and classes related? Most classes are defined initially in the TEI Infrastructure module, what attributes or elements are available as part of any TEI schema is dependent upon the modules which are loaded. For example, model.phrase contains many subclasses, one of which is model.lPart (for parts of a metrical line). However, if in generating your schema you’ve not included the Verse module, then the two elements which model.lPart provides, caesura and rhyme, would not appear as an option anywhere you use model.phrase.

Although most classes are defined by the tei infrastructure module, a class cannot be populated unless some other specific module is included in a schema, since element declarations are contained by modules. Classes are not declared ‘top down’, but instead gain their members as a consequence of individual elements’ declaration of their membership. The same class may therefore contain different members, depending on which modules are active. Consequently, the content model of a given element (being expressed in terms of model classes) may differ depending on which modules are active. (Model Classes)

While I hope that clears up some of the confusion, reading The TEI Infrastructure chapter will certainly help, as well as perusing Appendix A: Model Classes, Appendix B: Attribute Classes and Appendix C: Elements for reference and to look at examples. Playing with Roma which allows you to customise your TEI schema (and more) is another option.

Welcome

I occasionally get asked questions about TEI XML or XSL or similar things. Instead of just answering the someone when it isn’t on a mailing list, it seemed like a good idea to put it where other people might find it. Hence this blog, I suppose it is sorta a modern TEI-related version of MaimonidesGuide For The Perplexed, well or maybe not. No promises that there will be a lot of questions, or that they will be interesting.