X-Git-Url: https://iankelling.org/git/?p=spray;a=blobdiff_plain;f=Readme.org;h=09b323a8d5ce0c9b826478212543ba269db9c5b3;hp=069f8e59f7662bd37f7017e7f17c1938167576b4;hb=02d31260eed4067fbbff2d5a194171a0228bc791;hpb=555c855bfb380aae0091cd8e6e698dfa0a40feb4 diff --git a/Readme.org b/Readme.org index 069f8e5..09b323a 100644 --- a/Readme.org +++ b/Readme.org @@ -103,9 +103,9 @@ In =./spray.el=, the functions =spray--word-at-point=, =spray--update= and =spra *** Algorithm translated from code to english -Words are split at space, tab and newline characters, and if any of the characters =.!?;= appear in a word, a blank word is appended to the current word. +Words are split at space, tab, newline, and emdash characters. If any of the characters =.!?;= appear at the end of the word, a blank word is appended to the current word. -Each word is displayed for (60 / the choosen wpm) seconds, except if the word contains : or , or is greater than 9 characters long, in which case it is displayed for twice as long. +Each word is displayed for (60 / the choosen wpm) seconds, except if the word ends with ,:— or is greater than 9 characters long, in which case it is displayed for twice as long. The accent location is chosen as the nth character in a word, depending on its length, based on the following table | length | accent position |