gagolews / gagolews/stringi

Use BreakIterator for search_coll and search_fixed (optionally)

Open
#113 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
318
Forks
48
PR merge metrics
No merged PRs in 30d

Description

`usearch_open (const UChar *pattern, int32_t patternlength, const UChar *text, int32_t textlength, const char *locale, UBreakIterator *breakiter, UErrorCode *status)` -- a `BreakIterator` may be provided to search only @ specific text boundaries (e.g. match whole words only)

allow `search` funs to be fed with a break iterator to use; add briter support for search_fixed

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the usearch_open entry point and the search_coll and search_fixed functions mentioned in the issue. First trace how search currently handles text boundaries, then inspect the BreakIterator parameter and existing briter-related paths. Done means both search functions can optionally use a BreakIterator, including search_fixed.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.