open-editions / corpus-joyce-portrait-TEI

The Open Scholarly Edition of James Joyce's A Portrait of the Artist as a Young Man
GNU General Public License v3.0
20 stars 19 forks source link

Deduplicate places and move to a separate file #90

Open JonathanReeve opened 5 years ago

JonathanReeve commented 5 years ago

This is related to issue #43.

This idea is to assign each place name an XML ID, and move their metadata (latitude, longitude, regularized name, etc.) to a separate file, so as to clean things up a bit.

Let's figure out how best to do this, first.

The TEI docs here suggest a pattern like this:

<place xml:id="LYON1" type="city">
 <placeName notBefore="1400">Lyon</placeName>
 <placeName notAfter="0056">Lugdunum</placeName>
 <location>
  <geo>45.769559 4.834843</geo>
 </location>
</place>

Or this:

<place xml:id="BGbldg" type="building">
 <placeName>Brasserie Georges</placeName>
 <location>
  <country key="FR"/>
  <settlement type="city">Lyon</settlement>
  <district type="arrondissement">IIème</district>
  <district type="quartier">Perrache</district>
  <placeName type="street">
   <num>30</num>, Cours de Verdun</placeName>
 </location>
</place>

I suggest that we devise a taxonomy of places, which could be something like this:

@goldieshen and @HannimalCrackers, what do you think?

goldieshen commented 5 years ago

Sounds great! I apologize for such distinctions not having been made earlier. Good luck with the project!

On Fri, Dec 7, 2018 at 11:46 AM Jonathan Reeve notifications@github.com wrote:

This is related to issue #43 https://github.com/open-editions/corpus-joyce-portrait-TEI/issues/43.

This idea is to assign each place name an XML ID, and move their metadata (latitude, longitude, regularized name, etc.) to a separate file, so as to clean things up a bit.

Let's figure out how best to do this, first.

The TEI docs here http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ND.html#NDGEOG suggest a pattern like this:

Lyon Lugdunum 45.769559 4.834843 Or this: Brasserie Georges Lyon IIème Perrache 30, Cours de Verdun I suggest that we devise a taxonomy of places, which could be something like this: - imaginary (not a real place: Heaven, Hell, Elysium) - pub (Davy Byrne's Pub) — given Joyce's comment re:pubs, it would be good to track these separately - street — these we could mark up with their old and new names - city - natural (a river, a mountain) - political (a street, a square, a city, a country) - metaphorical (a place name used rhetorically or metaphorically) @goldieshen and @HannimalCrackers , what do you think? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub , or mute the thread .
JonathanReeve commented 5 years ago

@goldieshen, no apology necessary! We're building out all these features as we go.