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

The usage of context and full stop words #13

Open
agravier opened this issue Feb 4, 2020 · 2 comments
Open

The usage of context and full stop words #13

agravier opened this issue Feb 4, 2020 · 2 comments

Comments

@agravier
Copy link

agravier commented Feb 4, 2020

Thank you for this nice package. I have been exploring it as a pure-Python solution for some small autocomplete feature in a service I am developing, and I guess that returning or otherwise making use of the context dictionary is probably one of the missing pieces that would make it more useful to my team. Well, I am not totally sure because I don't get yet how the context and full-stop words work.

From the readme, I figured that the documentation for that feature was lacking at the time you initially released the package:

You might be wondering why things are in this format. It is to save space when this json can become very big easily and the keys become repetitive. That's why we are using a list with predefined order of keys. For your use case for now you can leave the context and display values as None if you want. We will opensource other factory functions soon that will fully utilize those keys in the context.

Do you have new documentation? I'm looking for how to use:

  • the context dict in the words list
  • the full stop words list

I think that's better to release the doc that you have now if anything, even a draft or some notes. I could help you make it into a final piece, if you want.

@seperman
Copy link
Owner

seperman commented Feb 4, 2020

Hi @agravier
Good idea. Let me look into it. There are pieces that I need to open source and then the whole context dict will make more sense.

@prem6667
Copy link

any update on this? how to give preference to context while searching

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

3 participants