Code Monkey home page Code Monkey logo

Comments (5)

acabal avatar acabal commented on June 15, 2024

Yes, I suppose so. I think genus was excluded in the manual because in texts from the PD time period it wasn't usually capitalized. We would have to go back through the corpus and update things. There are quite a few instances where genus is not capitalized, and also quite a few instances where we'd have to look up if to see if it's referring to a genus or species. Not sure if you're interested in doing that. A rough search found 124 matches that need review.

se xpath "//*[contains(@epub:type, 'z3998:taxonomy') and re:test(., '^[a-z]')] /path/to/ebooks

from manual.

robinwhittleton avatar robinwhittleton commented on June 15, 2024

Haha, yeah, dropped myself in that one. OK, I’ll get these fixed.

from manual.

robinwhittleton avatar robinwhittleton commented on June 15, 2024

In this sentence, should we recommend wrapping the parts with <span epub:type="z3998:taxonomy"> too?

<p>A bonobo monkey is in the phylum Chordata, class Mammalia, order Primates.</p>

The spec for taxonomy suggests “the name of a species, genus or other taxonomic classification.”

from manual.

robinwhittleton avatar robinwhittleton commented on June 15, 2024

Hmm, also: do we want to recommend xml:lang="la" for taxonomy too? There’s a mix in the corpus, most don’t.

from manual.

acabal avatar acabal commented on June 15, 2024

In this sentence, should we recommend wrapping the parts with <span epub:type="z3998:taxonomy"> too?

<p>A bonobo monkey is in the phylum Chordata, class Mammalia, order Primates.</p>

The spec for taxonomy suggests “the name of a species, genus or other taxonomic classification.”

Eh, that's going down the rabbit hole of tagging things that wouldn't otherwise get tags. The general philosophy is that if it has a tag anyway, like <i>, then we may as well give it semantics. But adding tags just for the sake of semantics is optional, though accepted.

Hmm, also: do we want to recommend xml:lang="la" for taxonomy too? There’s a mix in the corpus, most don’t.

I would say no because taxonomies are more like proper names, and I don't think we pronounce them today in the way that Latin was spoken anyway.

from manual.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.