TEIC / TEIGarage

EGE RESTful web service. Provides EGE functionality through RESTful web service way.
https://teigarage.tei-c.org
GNU General Public License v3.0
15 stars 2 forks source link

Seeking Help about how to use TEIGarage to convert txt file to tei file with the Roma customized format #98

Open teistudy opened 1 month ago

teistudy commented 1 month ago

Hi, everyone. I am using TEIGarage for the conversion of txt files into tei formats. It can be converted, but with no output of the customized style I expect. Why? How to set the customized property? I need a conversion of a large txt file. What is the Roma customized template used for? Is there a tool for the edition of TEI files? I am in urgent need of your help. Many thanks!

peterstadler commented 1 month ago

Hi @teistudy ,

I'm trying to answer those individual questions:

I am using TEIGarage for the conversion of txt files into tei formats. It can be converted, but with no output of the customized style I expect. Why?

Plain text input has no information about structure, styling, or semantics so – more or less – all that can be done is wrapping this text in a TEI body.

How to set the customized property?

I'm sorry, but I do not know what "customized property" would mean here?

What is the Roma customized template used for?

Roma (roma.tei-c.org) is a tool for creating TEI XML schemas. These schemas are used for validating and documenting a TEI file but can not be used to upconvert a plain text file to a TEI file.

Is there a tool for the edition of TEI files?

You might have a look at TEIPublisher which facilitates the editing as well as the publication of TEI files.

teistudy commented 1 month ago

Dear Peter, thanks for your prompt response! Your response is absolutely helpful. I am making a tei-encoded corpus of Verse or Poetry, but I am kind of blind about the tei format. As for TEIgarage, how many styles of tei format can it be used to export for the conversion of plain texts? Can I export the tei file with the style of verse? As for Roma, how do I utilize it? In what tool do I utilize it for the validation and documentation of a TEI file? In the TEIPublisher? Last, but not the least, is there a useful tool to analyze the tei corpus? Can the powerful corpus-analyzing tool WordSmith be employed to analyze it? I am in urgent need of your help! Thanks!

peterstadler commented 1 month ago

As for TEIgarage, how many styles of tei format can it be used to export for the conversion of plain texts? Can I export the tei file with the style of verse?

Can you elaborate on what you mean with style(s)?

As for Roma, how do I utilize it? In what tool do I utilize it for the validation and documentation of a TEI file? In the TEIPublisher?

Roma facilitates the creation of TEI-ODD files (see Getting Started with P5 ODDs). From the ODD files documentation as well as schemas can be (automatically) derived. Schemas can be used for validation (in editors like oXygen or on the command line). I'm actually unsure about the schema support with TEIPublisher but others might know more?

Last, but not the least, is there a useful tool to analyze the tei corpus? Can the powerful corpus-analyzing tool WordSmith be employed to analyze it?

I don't know WordSmith but e.g. ANNIS supports TEI through Pepper.

teistudy commented 1 month ago

Dear Peter, thanks for your reply. What I mean with "styles" is the Roma schemas- verse (which can be customized, right?). Can the TEIgarage use the Roma schemas- verse to convert the Plain Text of poetry into the TEI format with the verse schema? Otherwise, how to install the TEIPublisher in the Windows computer? I have tried many times, but failed in it. Thanks!

peterstadler commented 1 month ago

What I mean with "styles" is the Roma schemas- verse (which can be customized, right?).

Still trying to guess: There is a TEI customization "drama" (see https://tei-c.org/guidelines/customization/) which can be used for poetry. Yet, this won't provide any automated route for upconverting a plain text file to a TEI file.

Otherwise, how to install the TEIPublisher in the Windows computer?

You can try out TEIPublisher directly from their homepage without the need of a local installation. Otherwise, there is some installation documentation at https://teipublisher.com/exist/apps/tei-publisher/documentation/installation