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

rules.py - Laga punctuation vensl #12

Open
hinrikur opened this issue Mar 19, 2020 · 1 comment
Open

rules.py - Laga punctuation vensl #12

hinrikur opened this issue Mar 19, 2020 · 1 comment

Comments

@hinrikur
Copy link
Collaborator

hinrikur commented Mar 19, 2020

Sjá reglur frá UD:

Punctuation

Tokens with the relation punct always attach to content words (except in cases of ellipsis) and can never have dependents. Since punct is not a normal dependency relation, the usual criteria for determining the head word do not apply. Instead, we use the following principles:

  1. A punctuation mark separating coordinated units is attached to the immediately following conjunct.
  2. A punctuation mark preceding or following a dependent unit is attached to that unit.
  3. Within the relevant unit, a punctuation mark is attached at the highest possible node that preserves projectivity.
  4. Paired punctuation marks (quotes and brackets) should be attached to the same word unless that would create non-projectivity. This word is usually the head of the phrase enclosed in the paired punctuation.

Þetta er ekki svona núna

@hinrikur hinrikur changed the title Laga punctuation vensl rules.py - Laga punctuation vensl Mar 19, 2020
@hinrikur
Copy link
Collaborator Author

hinrikur commented Apr 8, 2020

Falli bætt við sem lagar greinarmekri í upptalningum með því að tékka hvort næsta orð hafi conj venslamerkingu.

Hefur (að öllum líkindum) ekki áhrif punkta 2., 3., og 4. að ofan.

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