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

lookup command does not give all solutions #2

Closed
LinguList opened this issue Jul 5, 2017 · 1 comment
Closed

lookup command does not give all solutions #2

LinguList opened this issue Jul 5, 2017 · 1 comment
Assignees

Comments

@LinguList
Copy link

Currently, I get:

$ concepticon lookup left
GLOSS	CONCEPTICON_ID	CONCEPTICON_GLOSS	SIMILARITY
left	2182	LEFT HAND	2

which is obviously only one possibility:

$ Concepticon lookup "left side"
GLOSS	CONCEPTICON_ID	CONCEPTICON_GLOSS	SIMILARITY
left side	244	LEFT	2

So the function should list all possibilities.

Another problem is: it seems we can never get similarity "1", maybe because even if part-of-speech information is included, we cannot find a 100% match. This should ideally be changed.

@LinguList LinguList self-assigned this Jul 5, 2017
@xrotwang xrotwang transferred this issue from concepticon/concepticon-data Oct 29, 2022
@xrotwang
Copy link
Contributor

The --full-search option allows retrieval of more matches:

$ concepticon lookup left --full-search
INFO    concepticon/concepticon-data at /home/robert/projects/concepticon/concepticon-cldf/raw/concepticon-data
GLOSS      CONCEPTICON_ID  CONCEPTICON_GLOSS      SIMILARITY
-------  ----------------  -------------------  ------------
left                 2182  LEFT HAND                       2
left                 1752  LEAVE                           2
left                  244  LEFT                            2

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

No branches or pull requests

2 participants