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

French: number/number regular expression is not picked up #320

Open
ISC-NLeclercq opened this issue Feb 16, 2023 · 0 comments
Open

French: number/number regular expression is not picked up #320

ISC-NLeclercq opened this issue Feb 16, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ISC-NLeclercq
Copy link
Collaborator

The following regular expression is used to detect number/number in the French language model:
number-fraction;\d+/\d+

The corresponding lexrep is:
;;{number-fraction};;FRNum;

Example sentence:
On définit l'hypertension par une valeur supérieure à 140/90 mmHg.

Trace output:
LexrepIdentified:140/90:FRCon;

Remark: the same regular expression is used in the Dutch and English model. For these languages 'number/number' is detected as a number.

@ISC-NLeclercq ISC-NLeclercq added the bug Something isn't working label Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants