You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, class original doesn't work (that used to be something in an early FoLiA version). The example is valid and correct, both have the current class. There is a solution for retrieving this, but I'm not sure to what extent it's also implemented in libfolia. For text() and textcontent() I use the correctionhandling parameter to choose which path to follow, the value can be either CURRENT, ORIGINAL or EITHER. A value of "CURRENT" follows the normal authoritative path (i.e <new> or <current>, note that despite the name this does not relate to text classes at all anymore) and "ORIGINAL" follows the original path.
folia2txt doesn't provide an interface to this currently, foliacorrect does.
Given this folia (also attached correctie.xml.txt)
FoLiA-2text can extract the corrected text:
één.
. But there is no way to extract the original text.The naive
FoLiA-2text --class original
doesn't work.So how to do this?
@proycon same question for
folia2txt
from FoliaPYThe text was updated successfully, but these errors were encountered: