sgsinclair / Voyant

GNU General Public License v3.0
207 stars 53 forks source link

Add support for CTS API #323

Open PonteIneptique opened 7 years ago

PonteIneptique commented 7 years ago

Hi there, I would be interested in knowing if it would be of any interest for you to support CTS API that are developed in the context of @Capitains ? I tried it with Voyant right now and definitely there is some limited issue (ie the metadata is taken as text). I see different ways to integrate with voyant, and they can include some work on this repository or just some external portal to it. What are your thoughts ?

Kind regards Thibault

sgsinclair commented 7 years ago

It would certainly be of interest! Most XML-based input formats can be supported out-of-the-box using the XML XPath options (though some care is needed to handle namespaces): http://voyant-tools.org/docs/#!/guide/corpuscreator-section-xml

We can also create named profiles that define default values for the XML ingestion, as per the list here: https://github.com/sgsinclair/trombone/tree/master/src/main/resources/org/voyanttools/trombone/input-formats

Finally, there are also some formats or circumstances that require additional handling, and that's possible too. If you can provide more details and some examples I'd be happy to spend some time on this.

sgsinclair commented 7 years ago

This ticket has been idle for a while, @PonteIneptique if it's still relevant, could you please point me to some documentation that would help for defining the relevant bits of metadata and text?