-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Translation of Chinese Ancient text's #30
Comments
Hey Alex, <?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng" type="application/xml"
schematypens="http://purl.oclc.org/dsdl/schematron"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0">
<teiHeader>
<fileDesc>
<titleStmt>
<title>Analects</title>
<author>Xian Jin</author>
<editor>Karpalig</editor>
</titleStmt>
<publicationStmt>
<p>Publication Information</p>
</publicationStmt>
<sourceDesc>
<p>From https://ctext.org/analects/xian-jin</p>
</sourceDesc>
</fileDesc>
<encodingDesc>
<refsDecl n="CTS">
<cRefPattern
n="level1"
matchPattern="(\w+)"
replacementPattern="#xpath(/tei:TEI/tei:text/tei:body/tei:div[@n='$1'])">
<p>This pointer pattern extracts level1</p>
</cRefPattern>
</refsDecl>
</encodingDesc>
</teiHeader>
<text xml:lang="unk" n="urn:cts:cText:authorId.textId.karpalig">
<body>
<div type="textpart" n="1">
<p n="ch">子曰:「先進於禮樂,野人也;後進於禮樂,君子也。如用之,則吾從先進。」</p>
<p n="en">The Master said, "The men of former times in the matters of ceremonies and music were rustics, it is said, while the men of these latter times, in ceremonies and music, are accomplished gentlemen. If I have occasion to use those things, I follow the men of former times."</p>
</div>
<div>
<p n="ch">子曰:「從我於陳、蔡者,皆不及門也。」</p>
<p n="en">The Master said, "Of those who were with me in Chen and Cai, there are none to be found to enter my door."</p>
</div>
</body>
</text>
</TEI> Does it make sense ? |
So I had choose all and hopefully was right header is the same, am i right? I think you probably want to use xml:lang rather than n for the “ch” and “en” attributes on What is better way to have more that 2 translators? |
For instance I have prepare *.xls file with several translation for this text: https://ctext.org/dao-de-jing |
I think yes, the TEI P5 template from oXygen should be what you want to use. Agree than the chinese language should be specified in the Regarding multiple translations, the Capitains Guidelines recommending putting each translation in a separate file. Hope this is helpful! |
Dear
Thanks for your email. Appreciate for support
I don't understand how to use the text database. Can't be that writing
everything manually, I mean the XML structure itself? I just launched
hosting, can you tell me if there is a convenient UI for using the
database, CMS or admin panel?
--
Best Regards,
Alex
пт, 15 нояб. 2019 г. в 18:22, Thibault Clérice <[email protected]>:
… Hey Alex,
Nice to meet you :)
I think the starting point would be to format your data in the same kind
of XML that we use, ie. TEI XML following Capitains Guidelines.
Unfortunately, I do not speak Chinese nor Russian, so I hope my example
will be good:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng" type="application/xml"
schematypens="http://purl.oclc.org/dsdl/schematron"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0">
<teiHeader>
<fileDesc>
<titleStmt>
<title>Analects</title>
<author>Xian Jin</author>
<editor>Karpalig</editor>
</titleStmt>
<publicationStmt>
<p>Publication Information</p>
</publicationStmt>
<sourceDesc>
<p>From https://ctext.org/analects/xian-jin</p>
</sourceDesc>
</fileDesc>
<encodingDesc>
<refsDecl n="CTS">
<cRefPattern
n="level1"
matchPattern="(\w+)"
***@***.***='$1'])">
<p>This pointer pattern extracts level1</p>
</cRefPattern>
</refsDecl>
</encodingDesc>
</teiHeader>
<text xml:lang="unk" n="urn:cts:cText:authorId.textId.karpalig">
<body>
<div type="textpart" n="1">
<p n="ch">子曰:「先進於禮樂,野人也;後進於禮樂,君子也。如用之,則吾從先進。」</p>
<p n="en">The Master said, "The men of former times in the matters of ceremonies and music were rustics, it is said, while the men of these latter times, in ceremonies and music, are accomplished gentlemen. If I have occasion to use those things, I follow the men of former times."</p>
</div>
<div>
<p n="ch">子曰:「從我於陳、蔡者,皆不及門也。」</p>
<p n="en">The Master said, "Of those who were with me in Chen and Cai, there are none to be found to enter my door."</p>
</div>
</body>
</text>
</TEI>
Does it make sense ?
Best,
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#30?email_source=notifications&email_token=ABZFN7UG5JFDCG7LPUNFXF3QT25CVA5CNFSM4JNM33A2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEFXYTY#issuecomment-554400847>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABZFN7QDTMK6L2O6AWDSDULQT25CVANCNFSM4JNM33AQ>
.
|
Hey Team,
I'm a Master student in Beijing Normal University study in Chinese Philosophy. I want personally create database of translation of Chinese text like ctext.org but in Russian language. As I have background as WordPress developer thought is not difficult however I was wrong.
Somehow I here and would like to understand what happening here and quickly try to use mine text based on your product. What is start point form me?
Best,
Alex
The text was updated successfully, but these errors were encountered: