Skip to content

Commit

Permalink
Add Left and Right Pointing Angle Brackets as punctuation to ancient …
Browse files Browse the repository at this point in the history
…Greek (#12829)

* Update universe.json

* Update universe.json

add some missing commas in the greCy's description.

* Update punctuation.py

Add mathematical left and right angle brackets as punctuation for ancient Greek for better tokenization.
  • Loading branch information
jmyerston authored Jul 20, 2023
1 parent ea54d17 commit 4f8daa4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spacy/lang/grc/punctuation.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
[
"†",
"⸏",
"〈",
]
+ LIST_PUNCT
+ LIST_ELLIPSES
Expand All @@ -31,6 +32,7 @@
+ [
"†",
"⸎",
"〉",
r"(?<=[\u1F00-\u1FFF\u0370-\u03FF])[\-\.⸏]",
]
)
Expand Down

0 comments on commit 4f8daa4

Please sign in to comment.