elexis-eu / elexifier

https://elexifier.elex.is
3 stars 3 forks source link

PDF pos mapping #31

Closed andrazrepar closed 2 years ago

andrazrepar commented 2 years ago

Add an additional step for PDF transformation allowing the user to map POS tags in the document with UD tags.

andrazrepar commented 2 years ago

Similar to character mapping, but with predefined values, we map POS values with UD tags (we already have them in the XML workflow). After ML finishes, extract all unique values in the POS container and prepare a dropdown list to be displayed in the UI.

The user selects a POS value from the dictionary from a dropdown list on the left hand side, and then selects a corresponding UD value from the dropdown list on the right hand side.

LukeItUp commented 2 years ago

Added two new api calls:

andrazrepar commented 2 years ago

We need to add another panel here below

image

Name: Map POS elements

gradisarjoze commented 2 years ago

This is now deployed to staging.