Generator-offset property: Difference between revisions

Inthar (talk | contribs)
Inthar (talk | contribs)
Line 30: Line 30:
* By a ''subword'', ''substring'', or ''slice'' on index ''i'' of a word ''S'', denoted ''S''[''i'' : ''j''], we mean
* By a ''subword'', ''substring'', or ''slice'' on index ''i'' of a word ''S'', denoted ''S''[''i'' : ''j''], we mean
** ''S''[''i''] ''S''[''i'' + 1] ... ''S''[''j''  − 1] ''S''[''j''] if ''j'' > ''i'',
** ''S''[''i''] ''S''[''i'' + 1] ... ''S''[''j''  − 1] ''S''[''j''] if ''j'' > ''i'',
** ''S''[''i''] ''S''[''i'' + 1] ... ''S''[''j''  &minus; 1] ''S''[''j''] if ''j'' < ''i'',
** ''S''[''i''] ''S''[''i'' + 1] ... ''S''[len(''S'')] S[1] ...''S''[''j''  &minus; 1] ''S''[''j''] if ''j'' < ''i'',
** ''S''[''i''] when ''j'' = ''i''.
** ''S''[''i''] when ''j'' = ''i''.
* Given a mos aX bY, a ''chunk'' of X's is a maximal substring made of X's, bounded by Y's, possibly empty. We do not include the boundary Y's.
* Given a mos aX bY, a ''chunk'' of X's is a maximal substring made of X's, bounded by Y's, possibly empty. We do not include the boundary Y's.