Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding first cross references. #44

Merged
merged 4 commits into from
Nov 24, 2017
Merged

Adding first cross references. #44

merged 4 commits into from
Nov 24, 2017

Conversation

charlesreid1
Copy link
Contributor

@charlesreid1 charlesreid1 commented Nov 23, 2017

This adds a cross-reference.xml document, several tags,
and the very first example of a cross reference: "agenbite of inwit".

This follows the idea in #39, which adds <ref> tags in the text and
groups them using a <link> tag in cross-references.xml, with the
suggestion in #42, of enumerating the <ref> tags using the nearest
<lb> tag.

Some additional "header"/padding tags may need to go in cross-references.xml,
but for now it's just a sequence of <link> tags wrapped in a <TEI> tag.

This also demonstrates the addition of a <note> (with target attribute)
to expand on and explain the cross-reference.

This adds a cross-reference.xml document, several <ref> tags,
and the very first example of a cross reference: "agenbite of inwit".
@JonathanReeve JonathanReeve self-requested a review November 24, 2017 10:45
Copy link
Member

@JonathanReeve JonathanReeve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thanks very much for this. I'm looking forward to going through Gifford and adding a couple cross-references, myself.

@JonathanReeve JonathanReeve merged commit eff7124 into open-editions:master Nov 24, 2017
@yellwork
Copy link
Collaborator

Wonderful! Going to get cracking myself too. I wonder if there’s any way to mass import the findings in William M. Schutte’s Index of Recurrent Elements in James Joyce’s Ulysses (1982)? I’ll track down a copy and take a look.

@JonathanReeve
Copy link
Member

Great idea. If you can't find a copy, let me know, and I'll see if I can scan the copy we have in our library.

I've also been thinking about ways of computationally identifying recurring phrases. The best I can come up with is, make a formula adding the sum of probabilities of each word, the number of words, and the number of times the n-gram repeats.

@yellwork
Copy link
Collaborator

I just checked and we have a copy in my library – though thanks for offering.

I can’t remember what edition Schutte cues his elements to (the JJQ episode-by-episode version used the 1934 and 1961 editions), but I bet there’s a way to grab all his citations and computationally transform them into 1984 episode.line numbers. Maybe that could form the basis for more speedily getting his recurrences into our data as <ref> and <link> tags? But let me get the book and take a look at it first; see just what he takes note of.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants