Skip to content
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

add row feature needs more polish #14

Open
TalhaBedir opened this issue Mar 25, 2021 · 0 comments
Open

add row feature needs more polish #14

TalhaBedir opened this issue Mar 25, 2021 · 0 comments

Comments

@TalhaBedir
Copy link

When we want to add a row, it is usually in order to separate punctuation that is erroneously clumped together. So, I suggest that:

When we add a row, it should automatically have the UPOS value as PUNCT and dependency as punct. It should also have a SpaceAfter=No in its MISC slot.

Furthermore, in LEMMA slot, we usually have the first character of the copied slot. For example, if I want to add a row to the fifth line, and the fifth line already has the following value: ." then we want to separate the dot from the quote. If we add a line to 5 it would be very cool to automatically have the first character in ." which is the dot. A code that has following algorithm makes sense to me: add line x to the sentence. Before adding check if the line x has punctuation in it like ? . - " ! etc. If the line has punctuation copy the first punctuation you see to the newly added line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant