Confirmation that spaces are really spaces
#3
(14-11-2025, 11:54 PM)oshfdk wrote: You are not allowed to view links. Register or Login to view.Out of curiosity, if you test a very simple rule that q always starts a word, n always ends a word and y ends a word unless this will create a single character word (.y.), what proportion of spaces would be correctly recovered? Just looking at the text it appears as if more than 50% of spaces can be explained by certain characters requiring a space before them, certain characters a space after them or, in the case of y, either before or after.

Well, this cannot be answered with the BPE model, but I have reused the final testing and checking logic. So I checked the rule against all the words that contain q, n or y (not single y), and the results are:

Results for q/n/y rule, restricted to words containing q, n or y (length > 1):
Number of selected words: 23577
Total word boundaries (start+end) in this subset: 47154
Correct word starts: 15341 (65.068 percent)
Correct word ends:  20939 (88.811 percent)
Overall boundary recall: 76.939 percent
Words with both boundaries correct: 13196 (55.970 percent)
[+] 1 user says Thank You to quimqu for this post
Reply


Messages In This Thread
RE: Confirmation that spaces are really spaces - by quimqu - 15-11-2025, 12:03 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] Measure uncertain spaces? Koen G 8 1,647 24-08-2026, 08:09 AM
Last Post: Pointless..
  Uncertain spaces as evidence of verbose glyph pairs kckluge 0 1,587 01-01-2026, 05:24 AM
Last Post: kckluge
  n-grams while ignoring spaces? Koen G 10 9,804 17-03-2025, 05:32 PM
Last Post: zachary.kaelan
  Using Massimiliano Zattera's slot sequence or a different one to find missing spaces? nablator 8 8,496 15-05-2024, 12:14 AM
Last Post: ReneZ
  Ambiguous Spaces Emma May Smith 28 21,336 19-03-2024, 09:49 AM
Last Post: MarcoP
  Bigrams across uncertain spaces RobGea 26 21,535 24-05-2022, 07:02 AM
Last Post: MarcoP
  Spaces and Entropy Koen G 32 31,683 22-05-2022, 12:28 AM
Last Post: Anton
  Spaces and word cases Barbrey 0 4,597 26-07-2021, 02:17 AM
Last Post: Barbrey

Forum Jump:


Users browsing this thread: 1 Guest(s)