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

Improve Ligurian tokenization #13694

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jeanm
Copy link

@jeanm jeanm commented Nov 25, 2024

Description

  • Corrected one spelling mistake in the example text.
  • Improved suffixes/prefixes:
    • support elision in years (e.g. 1990 -> ’90),
    • don't split the degree symbol when it's part of a degree unit (e.g. °C),
    • don't split left apostrophes for the few words that can have elision occur on the left (’na, ’n, ’n’).
  • Improved handling of special cases:
    • handle compound prepositions (e.g. a-a, co-i) in a way that doesn't break compatibility with how they're dealt with in Universal Dependencies (using NORM as described in Multi-word tokens in non-English languages #1460),
    • handle cases such as °C, and generate the correct NORM forms for cases such as ’na.
  • Added tests for all of the above.
  • Added a few extra stop words, including variants with the curly quote / typographic apostrophe (commonly found in Ligurian corpora).

Types of change

Enhanced support for the Ligurian language.

Checklist

  • I confirm that I have the right to submit this contribution under the project's MIT license.
  • I ran the tests, and all new and existing tests passed.
  • My changes don't require a change to the documentation, or if they do, I've added all required information.

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

Successfully merging this pull request may close these issues.

1 participant