Closed 99MengXin closed 1 year ago
Hi! Here, I can give you a few suggestions: In step 4 you detail
Scroll down to
RegExp Word Characters
, and set\-\'a-zA-ZÀ-ÖØ-öø-ȳЀ-ӹ
Base on the provided RegExp, '
should be considered a word, which is useful in some contexts (english genitive such as "Tom's house" → "Tom's
+ house
"). If it's a trouble to you, you can simply remove the apostrophe for words characters (use \-a-zA-ZÀ-ÖØ-öø-ȳЀ-ӹ
).
In your context, I would suggest to use "
instead of '
whenever possible.
Finally, I can look into the word parser if I have some time, but it a core function so it's really hard to change without breaking something for users.
I hope that helps you :smile:
Describe the bug The RegExp may have bug to separate the words.
To Reproduce Steps to reproduce the behavior:
Languages
Edit
(In this case, English)RegExp Split Sentences
, and set.!?:;
RegExp Word Characters
, and set\-\'a-zA-ZÀ-ÖØ-öø-ȳЀ-ӹ
Save
Expected behavior e.g. 'I should like it.' The word
it
in this sentence should be recognized toit
butit.
with a period. In other cases, symbols can be recognized perfectly. e.g. ?!;:Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context This function works well in original LWT.