Skip to content

SymSpell LookupCompound excluding Numbers and Special characters #34

Open
@geomygeorge

Description

@geomygeorge

I'm trying to use SymSpell for OCR post processing spell correction.
I have noticed that, SymSpell LookupCompound excluding Numbers and Special characters from the output. In my context, numbers and characters are really important for further analysis.
Is it possible to avoid Numbers and Special characters elimination?

Version: SymSpell 6.3 C# project

Steps to reproduce:

  1. Build the SymSpell C# code

  2. Go to \SymSpell\SymSpell.CompoundDemo

  3. Run dotnet run .

  4. Enter below input
    "To find out more about how we use information, visit or contact-any of our offices 24/7"

  5. It gives below output.
    to find out more about how we use information visit or contact any of our offices of 5 30,646,750

Problem:
We can notice that, the output doesn't contain ',' and 24/7

Expected Behavior
to find out more about how we use information, visit or contact any of our offices 24/7

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions