GithubHelp home page GithubHelp logo

Comments (4)

proycon avatar proycon commented on June 4, 2024

Input sample:

<event class="poem" xml:id="aa__001biog01_01.TEI.2.text.body.div.lg.1620">                                                                                                                                                                  
       <utt xml:id="aa__001biog01_01.TEI.2.text.body.div.lg.l.1614"> <t>Galenus wezen leeft op 't velt van dit papier</t></utt>
       <utt xml:id="aa__001biog01_01.TEI.2.text.body.div.lg.l.1615"> <t>Zyn tong alleen is stom; kon die de banden breken,</t></utt>
       <utt xml:id="aa__001biog01_01.TEI.2.text.body.div.lg.l.1616"> <t>Zy zou hier hemeltaal en boetorakels spreken,</t></utt>
       <utt xml:id="aa__001biog01_01.TEI.2.text.body.div.lg.l.1617"> <t>En berten blaken met een toorts van heilig vier.</t></utt>
       <utt xml:id="aa__001biog01_01.TEI.2.text.body.div.lg.l.1618"> <t>In andren vindt men minst welsprekenheid en zeden;</t></utt>
       <utt xml:id="aa__001biog01_01.TEI.2.text.body.div.lg.l.1619"> <t>Maar hier zijn bei volmaekt, de deugt en kracht van reden.</t></utt>
</event>

from ucto.

proycon avatar proycon commented on June 4, 2024

I guess ideally we should check if Paragraph is in ACCEPTED_DATA and if not fall back on Sentences (and if that isn't allowed, on Words)

from ucto.

kosloot avatar kosloot commented on June 4, 2024

For now , I hacked some code to handle utterances like sentences. So directly add Words.

Please test

from ucto.

proycon avatar proycon commented on June 4, 2024

Works!

from ucto.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.