Create valid pos_ids if possible
create_pos_ids(pd, pos, by = 0.1, after = FALSE, n = 1)
A parse table.
The position where the new id should be inserted.
By how much the reference pos_id
should be increased / decreased
to create a new id.
Boolean indicating whether it should be inserted after or before
pos
.
Number of ids to generate.
Returns a valid sequences of pos_ids or an error if it was not possible to
create one. The validation is done with validate_new_pos_ids()
Other token creators:
create_tokens()
,
validate_new_pos_ids()