flat icon indicating copy to clipboard operation
flat copied to clipboard

Can it support visually annotate constituency Penn Treebank?

Open fishfree opened this issue 9 months ago • 5 comments

I upload the example file frog-deep-upgraded.2.0.2.folia.xml to FLAT. Then turn on Global annotations-> Chunk, it shows constituencies very similar to PennTreebank as below: Image

So can it support VISUALLY (drag & select, NOT click & input) annotate constituency Penn Treebank? What configurations tasks should be prepared firstly?

fishfree avatar Mar 20 '25 00:03 fishfree

I should post in the FLAT repo.

fishfree avatar Mar 20 '25 00:03 fishfree

Misoperation

fishfree avatar Mar 20 '25 00:03 fishfree

On Thu Mar 20, 2025 at 1:53 AM CET, fishfree wrote:

So can it support VISUALLY (drag & select, NOT click & input) annotate constituency Penn Treebank? What configurations tasks should be prepared firstly?

No, FLAT is generally click & input, there are no drag operations. Multiple tokens can be selected though for multi-span annotations.

proycon avatar Mar 20 '25 10:03 proycon

@proycon Thank you! Would you pls tell how to make multi-span annotations? I can not find it in the official doc.

fishfree avatar Mar 20 '25 10:03 fishfree

It's explained in this section: https://flat.readthedocs.io/en/latest/user_guide.html#annotation-editor , using the "select span" button. Note that it only works when the FoLiA document is tokenised (has elements) and only for span annotation types like entities.

proycon avatar Mar 20 '25 10:03 proycon