Talk:Strip block comments: Difference between revisions

Content added Content deleted
(→‎J draft: new section)
Line 30: Line 30:
The rows of numbers correspond to states. State 0 corresponds to the top row, state 1 corresponds to the next row, ..., state 3 corresponds to the bottom row.
The rows of numbers correspond to states. State 0 corresponds to the top row, state 1 corresponds to the next row, ..., state 3 corresponds to the bottom row.


The previous character's state (which is initially 0) and current character class are used to determine the current character's state. (Those are the numeric values you see arranged in that four row table.)
The previous character's state (which is initially 0) and current character class are used to determine the current character's state. (These "new state numbers" are the numeric values you see arranged in that four row table.)


We then find characters in the original text which have a state less than 2 and whose neighbors on both sides also had a state less than 2.
We then find characters in the original text which have a state less than 2 and whose neighbors on both sides also had a state less than 2.