Sentence-terminal periods not tokenized properly in Malayalam text
Open
bug
lang / ml
- Dominant language
- Python
- Stars
- 33.9k
- Forks
- 4.7k
- Avg merge
- 3m
- Merged PRs (30d)
- 1
Description
## How to reproduce the behaviour
import spacy
nlp = spacy.blank('ml')
doc = nlp('ഇന്ത്യയിൽ കേരള സംസ്ഥാനത്തിലും കേന്ദ്രഭരണപ്രദേശങ്ങളായ ലക്ഷദ്വീപിലും പോണ്ടിച്ചേരിയുടെ ഭാഗമായ മാഹിയിലും തമിഴ്നാട്ടിലെ കന്യാകുമാരി ജില്ലയിലും നീലഗിരി ജില്ലയിലെ ഗൂഡല്ലൂർ താലൂക്കിലും സംസാരിക്കപ്പെടുന്ന ഭാഷയാണ് മലയാളം.')
print(doc[-1]) # Print 'മലയാളം.', should be '.'
## Your Environment
* Operating System: Windows 11 x64
* Python Version Used: 3.10.12
* spaCy Version Used: 3.6.0
Contributor guide
Assessment
This issue has not been assessed yet.