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

Headword wildcard search is needed #24

Closed
Tvangeste opened this issue Jul 5, 2011 · 7 comments
Closed

Headword wildcard search is needed #24

Tvangeste opened this issue Jul 5, 2011 · 7 comments

Comments

@Tvangeste
Copy link
Member

Typical wildcard search for the headwords would be very useful. Here's how Lingvo does it:

“?” replaces any letter (including a blank).
“*” replaces any sequence of letters (including blanks).

Example:

f?llow
This wildcard matches the words fellow, follow, fallow, etc.

summ*r
This wildcard matches the words summer, summator, etc., as well as the phrases summable filter, summing counter, etc.

@dragonroot
Copy link
Member

This is possible to implement, though there's a question here: how does one differentiate between normal search and a wildcard one? Is the presence of a wild card the sole indicator?

@Tvangeste
Copy link
Member Author

Here's how Lingvo does it. By default, the wildcard search is off. They use Ctrl-F3 shortcut to enable it. Not very discoverable approach. And for the full-text search they use a special button on the toolbar.

So, 3 search modes (including the default mode), 3 different ways of enabling them, not good.

Given the current trends in browsers, where everything can be done straight from the address bar, we could try out something like that.

Alternatively, We could add checkboxes or something like that, to the same component that currently holds group selector. And so, all 3 modes (when they are eventually implemented) could be triggered uniformly right from the UI, from the single place.

@Tvangeste Tvangeste reopened this Jul 5, 2011
@Tvangeste
Copy link
Member Author

Also, worth noting a couple of things:

  1. Wildcard search should probably search only over the actual headwords, not doing anything more complicated (like morpho). This will be in sync with Lingvo.
  2. I'm not sure I like their approach to * wildcard, which matches spaces. Maybe, it would be better for * to mean - anything without spaces, so that w_k would only much things like wok, work, week, but not "when it rains I always go for a walk". For multiple-word matches, we might consider, e.g. *_ - double star.

@nashbridges
Copy link

+1 for wildcards or regular expressions

@khughitt
Copy link

+1 for wildcards.

It's especially useful for finding chinese words that contain or end with a character.

@Abs62
Copy link
Member

Abs62 commented Jun 26, 2014

Done in last EA builds.

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

No branches or pull requests

6 participants