Skip to content

WordDetector cannot handle words starting with 2 underscores #23

@svendiedrichsen

Description

@svendiedrichsen

We regularly find warning log messages like Index out of hashmap58 : __weibo__ in our logs.

This seems to be caused by the way the class WordDetector creates the index into the array. Shouldn't the word be stripped from all non-alpha characters to determine the index?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions