Skip to content

Add exclusive but non-overlapping mode to tokens_lookup #502

Description

@koheiw

When I simply want to count the occurrences of dictionary entities, matching overlapping ones is sometimes harmful. For example, tokens_lookup counts 'Czech Republic' in a text twice with this:

- CZ: Czech Republic, Czech*, Prague

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions