Skip to content

Commit

Permalink
greek: Fix first part of step5a to set slice
Browse files Browse the repository at this point in the history
In practice it happens the slice will actually always be set as we
want, but that's only because of how the steps before this are
written so it's not good to rely on that.

This could only affect the word "αγαμε" which isn't currently in the
test vocabulary (but I'll add it shortly to provide test coverage for
this special case).
  • Loading branch information
ojwb committed Jan 15, 2025
1 parent 402d60a commit 1411289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion algorithms/greek.sbl
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ backwardmode (
)

define step_5a as (
do ('{a}{g}{a}{m}{e}' atlimit <- '{a}{g}{a}{m}')
do (['{a}{g}{a}{m}{e}'] atlimit <- '{a}{g}{a}{m}')
do (
[substring] among (
'{a}{g}{a}{m}{e}' '{i}{s}{a}{m}{e}' '{o}{u}{s}{a}{m}{e}' '{i}{k}{a}{m}{e}' '{i}{th}{i}{k}{a}{m}{e}' (delete unset test1)
Expand Down

0 comments on commit 1411289

Please sign in to comment.