-
Notifications
You must be signed in to change notification settings - Fork 15
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
Adding multiple text content elements in FLAT #188
Comments
Good question. I think it's a bit of a grey area where things quickly become
I think corrections only work on the token level, applying them on higher So edits on sentences should always be direct (D), or (N) if you want to add
This too seems a clear bug in FLAT, I reproduced it: Adding a new "Text" only shows a field to
No, there should have been a text field. Adding a Feature like in the
Don't use string-annotation no, support for adding string annotation
You'd have to load a document with As to your over-arching question "Please advise if this would be possible".
So I kind of wonder if fixing these bugs will bring FLAT into a state that I should add that the future of FLAT is very uncertain at this point, it's a |
Ah, I see, very sad to hear that FLAT may become deprecated, since it is such a great support for enriching FoLiA documents. Do/will people in your projects use another annotation environment? Depending on your capacities, if some of the things are debuggable, we would be happy to use FLAT further. |
I can definitely look into the two bugs you found if that's enough for your use-case, but I do wonder if the constraints I mentioned are not too limiting?
Contributions are of course always welcome, but the code-base isn't the most accessible I'm afraid, so it will be difficult.
My own preference has shifted to more lightweight solutions, whereas FLAT is a very comprehensive environment that tries to accommodate most of FoLiA (and FoLiA itself is quite comprehensive). This was by design and FLAT's greatest strength, but also its greatest weakness probably as things get complex quickly (as we notice in this issue) and FLAT is not an easily reusable component in other contexts, it's by definition married to FoLiA. In the field (my view is limited though), I've seen simple solutions built on libraries like Recogito-JS, usually specific for a certain annotation task in a project. There's https://github.com/zenml-io/awesome-open-data-annotation which tries to keep a nice list of manual annotation tools (FLAT's in there too). |
Thank you very much. I am going to restrict the use case to FLAT's capabilities then, after debugging, and am going ask a developer here to look into the frontend upgrade mentioned in the related issue. |
P.S. Is FoLiA and its tools going to be maintained after CLARIAH ends? |
FoLiA is indeed funded from CLARIAH as well, so the same problem applies. I'm trying to at least ensure some limited funding for continued maintenance & support (excluding large feature developments) of FoLiA, Frog, ucto, to ensure basic continuity, but all that is unclear still. We're happy to also have @kosloot actively involved in his free retirement time, that of course also helps a lot! But continuity of research software needs proper attention and funding from projects or institutes in order to be really sustainable, and that's often difficult unfortunately. Btw, I'm also been working on other annotation solutions (STAM ) where transition from FoLiA is explicitly included (but that too is in the scope of CLARIAH). |
OMG... I hope that inland funding continues for the awesome infrastucture of you guys, otherwise we could come up with an international solution? :-) |
Some internal notekeeping on the debugging for this issue: Bug 1 is caused by the FQL query being too broad:
The correct query (tested to work) needs a WHERE clause on textclass:
Working on a fix now... |
This is bug 1 of #188 This edited all layers regardless of textclass, now it correctly applies only to the selected one.
This fixes the second bug of this issue.
The two bugs should now be resolved in flat v0.11.4 |
I wonder if FLAT supports adding multiple text content elements https://folia.readthedocs.io/en/latest/text_annotation.html#text-annotation].
I would have a use case for it: there are several versions of a historical text: source text, a later version of the text, and their normalized orthography, as well as OCR.
Bringing together all these layers (on the token level) programmatically is not truly possible.
(I tried a bit but the file got big and FLAT had a gateway error).
The idea would be that users can enter the words for the different textclass layers via FLAT.
So I prepared thus a oneliner based on the example in the documentation (
<t>Hello. This is a sentence. Bye!</t>
etc.), please see attached. It is not yet tokenized, to keep it simple, and also I thought that in the use case the users could enter bigger chunks of texts (e.g. sentences).This toy file renders OK in FLAT, and I can change between the three different text contents using the Selector.
Many thanks if you have the chance for looking into this. I use the docker FLAT.
bbb2.folia.xml.txt
The text was updated successfully, but these errors were encountered: