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

FreeDict: Unknown tags when converting tei : usg, gramGrp, note #529

Closed
ailin-nemui opened this issue Nov 6, 2023 · 4 comments
Closed

Comments

@ailin-nemui
Copy link

should pyglossary do anything about this? I get these warnings when trying to convert freedict to stardict (see also freedict/tools#21 )

[WARNING] unknown tag '{http://www.tei-c.org/ns/1.0}usg' inside translation <cit>: <usg xmlns="http://www.tei-c.org/ns/1.0" type="dom">chem.</usg>

this one specifies usage domain (e.g. chemical related)

[WARNING] unknown tag '{http://www.tei-c.org/ns/1.0}gramGrp' inside translation <cit>: <gramGrp xmlns="http://www.tei-c.org/ns/1.0">
              <gen>neut</gen>
            </gramGrp>

this one gives grammatical noun gender

[WARNING] unknown tag '{http://www.tei-c.org/ns/1.0}gramGrp' inside translation <cit>: <gramGrp xmlns="http://www.tei-c.org/ns/1.0">
              <number>pl</number>
            </gramGrp>   

indicating the plural form

[WARNING] unknown tag '{http://www.tei-c.org/ns/1.0}gramGrp' inside translation <cit>: <gramGrp xmlns="http://www.tei-c.org/ns/1.0">
              <pos>adj</pos>
            </gramGrp> 

part of speech adjective / verb / noun etc

[WARNING] unknown tag '{http://www.tei-c.org/ns/1.0}note' inside translation <cit>: <note xmlns="http://www.tei-c.org/ns/1.0">von Kafka / Werktitel</note>                                                         

some random notes to clarify the translation(?)

@ilius ilius changed the title Unknown tags when converting tei : usg, gramGrp, note FreeDict: Unknown tags when converting tei : usg, gramGrp, note Nov 7, 2023
@ailin-nemui
Copy link
Author

I made this patch: master...ailin-nemui:pyglossary:tei-cit

at least it copies some TEI attributes to the stardict html but I'm not really sure about it

@ilius
Copy link
Owner

ilius commented Nov 10, 2023

Please give the link to your tei file.

@ailin-nemui
Copy link
Author

@ilius
Copy link
Owner

ilius commented Nov 18, 2023

I pushed to master.
Please try again.

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

No branches or pull requests

2 participants