Skip to content

feature: boundary window for cgrams #21

Description

@roycewilliams

It would be useful to optionally produce cgrams within a window of X characters "beyond" the character change boundary.

For example, the default behavior of pack2 cgrams would have a range value of 0. With a specified range of '1',this input:

abcd1234

... would produce:

abcd
abcd1
d1234
1234

... and a range of '2' would produce:

abcd
abcd1
abcd12
cd1234
d1234
1234

In other words, this would produce a focused subset of what would be generated by window/slider tools, or tools like cutb, still informed by character-change boundaries.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions