Skip to content

Experimenting with it, need some heads up #6

Description

@rvencu

Hi, I have this problem at hand: given a text that is stripped of punctuation, basically a long series of words separated by spaces, I need to identify all items present in the trie, with the longest ones starting first.

As an example: if in trie I entered these terms
1 lorem ipsum dolor
2 lorem ipsum
3 dolor

If my text contains 'lorem ipsum dolor' I would like to confirm key 1 as a match and ignore 2 and 3. I need to extract this way all possible matched against the given trie.

I would appreciate a little heads up, maybe some relevant docs about how to manipulate these objects towards my goal.

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