-
Notifications
You must be signed in to change notification settings - Fork 5
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
Can I disable text validation? #26
Comments
Text validation is a rather essential component that ensures your FoLiA document is valid, so it always enabled. I wonder what causes your error, do you also have a |
the
Essentially, I am looking to pair up source/translation sentences and their tokens/POS tags inside another element. That element could be a The
|
To make it simpler, I have isolated the sentence that causes the issue. Here is a
|
There are 2 possible solutions here:
So either: <w xml:id="segment_id_7.w.2" space="no">
<t>date</t>
<pos class="XX"/>
</w>
<w xml:id="segment_id_7.w.3">
<t>]</t>
<pos class="XX"/>
</w> or: <t>
<t-style class="bold">[ date ]</t-style>
</t> The point is, that spaces are implicit after EVERY word |
Hello and thanks for the repo,
I think I have an issue with text validation. I have created a folia Doc with sentence elements and their text. I am machine translating it and then reading the machine translated xml as a new folia Document. No issue so far, then I am creating a new folia Document that has div elements and inside it I am appending sentence pairs, one from each of those two folia Documents (the original one and the one that I machine translated). But, when I try to append this sentence from the machine translated Document I get:
Basically my sentence is :
which results in the above error. I don't understand what the term deep text and strict text means but can I simply turn off this validation and let this sentence be appended in a div? Thanks
The text was updated successfully, but these errors were encountered: