Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide auto-completion for matches #2

Closed
Kraymer opened this issue Mar 12, 2015 · 1 comment
Closed

Provide auto-completion for matches #2

Kraymer opened this issue Mar 12, 2015 · 1 comment
Labels

Comments

@Kraymer
Copy link
Owner

Kraymer commented Mar 12, 2015

By generating the whole list of substrings composed of full words.

@Kraymer
Copy link
Owner Author

Kraymer commented Mar 15, 2015

Algorithm should be smthing like :

  1. Payee line : PPRLV SEPA NAVIGO ANNUEL - GIE COMUTITRES : FR42ZZZXXXX85 ++FR42ZZZ457385000015437036-XXXX37 DE NAVIGO ANNUEL - GIE COMUTITRES : ++FR42ZZZ457385000015437036-XXXX37 FR42ZZZXXXX85
  2. Cut at delimiters such as ponctuations and "random strings" (strings that are composed of mix of digits and alphanums) => ["PPRLV SEPA NAVIGO ANNUEL", "DE NAVIGO ANNUEL", "GIE COMUTITRES"]
  3. iterate on tokens backwards to generate full list of completion matches : [NAVIGO ANNUEL, SEPA NAVIGO ANNUEL, PPRLV SEPA NAVIGO ANNUEL ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant