intersystems / intersystems/iknow

French: number/number regular expression is not picked up

Open
#320 0 comments 0 reactions 1 assignee Claimed by @JosDenysGitHub View on GitHub
bug
Dominant language
C++
Stars
54
Forks
22
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.