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

Reading views #3

Open
pverkind opened this issue Jul 22, 2018 · 1 comment
Open

Reading views #3

pverkind opened this issue Jul 22, 2018 · 1 comment

Comments

@pverkind
Copy link
Collaborator

Dear all,

I noticed that in the reading°views folder, we have only 4 languages; French and English are missing.

I guess that is because the xml of the the treetagger file of these two languages was not well-formed, so that the xslt file could not convert them.
I corrected the treetagger files (replaced the attribute name "scientific name" with "scientific-name"; and replaced the ampersands with &).
I was not able to run the C:\Users\peter\Desktop\Tufts_Summer_School\tufts_2018\util\reading_views.sh bash command on my laptop though; apparently because Saxon is not installed on it.

I'll try to get this to work after brunch (unless someone else can do this before that).

Best,

Peter

@emmamorlock
Copy link
Collaborator

Dear Peter, dear All

I created an new XSL tranformation stylesheet to produce the first html file: 'name.tt.xml'
Then I regenarated the files of this first step, after correcting the files in the treetagger (tt) folder for each language. Mainely:

  • harmonize attribute name for 'scientific-name' (the new xslt uses it)
  • & entities => &
  • text between
  • xslt to accomodate two names for the sentence element ('sentence' or 'sentences').

I don't know if it's very useful, as the tt files were old, but anyway...

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

No branches or pull requests

2 participants