What each candidate costs to delete
TOKENLOSS +
ug0.00pug re-splits as pu·g, same cost
pu0.00p·u is just as good
un0.00pun and bun are whole words already
hu0.00never used in any best split
gs0.00hugs is a whole word already
bu0.00never used
bun10.59keep
hugs13.56keep
hug24.25keep
pun27.60keep
A token is worth keeping only if the words containing it get worse without
it. Deleting ug costs exactly nothing, because “pug” simply re-splits as
pu·g at an identical score. Deleting pun costs 27.6,
because there is no comparable way left to write it.