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

AI-GCS: Design and implement "Code Stemming", e.g., token replacement and abstraction #6

Open
pombredanne opened this issue Nov 6, 2024 · 0 comments

Comments

@pombredanne
Copy link
Member

pombredanne commented Nov 6, 2024

This is something done here for instance https://dickgrune.com/Programs/similarity_tester/
See:

Each code token is assigned a normalized replacement (here a single letter) and this is what is used afterwards.

Eventually this is to implement the "code stemming" as documented in https://ai-gen-code-search.readthedocs.io/en/latest/approximate-matching-design-3.html and https://github.com/aboutcode-org/ai-gen-code-search/blob/main/docs/source/approximate-matching-design-3.rst

@pombredanne pombredanne changed the title Consider using token replacement and abstraction AI-GCS: Design and implement "Code Stemming", e.g., token replacement and abstraction Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant