Giter VIP home page Giter VIP logo

codecomb's People

Contributors

amartyaamp avatar dependabot[bot] avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

kaushiksk

codecomb's Issues

Classify results to file types

Have separate sections for top C++ files , python files etc.

So the results would look like

Top C++ files 
============================

Top Python files
============================

Smart Open deprecation warning

I get the following warning during the initial configuration run.

C:\Users\kakalmad\AppData\Roaming\Python\Python37\site-packages\smart_open\smart_open_lib.py:398:
UserWarning: This function is deprecated, use smart_open.open instead. 
See the migration notes for details: https://github.com/RaRe-Technologies/smart_open/blob/master/README.rst#migrating-to-the-new-open-function

Not able to figure out where exactly this module is being called. I think one of the dependencies internally uses it.

Setup Info

  • Windows 10
  • Anaconda Python 3.7
  • Anaconda Prompt

Change overall design

Idea is to make it object oriented.
Currently the code is fully with modularity imposed by functions only.

A class relationship model would enable the system to extend and scale.

Check and explore other document representations and distance metric

Our current representation uses averaged Word2Vec . There can be other word/ document embeddings which may improve the search results. For eg. -

  • Fasttext (averaged)
  • MOE (averaged)
  • StarSpace (averaged)
  • Glove (averaged)
  • Universal Sentence encoder

Alongwith these, we need to look at different distance metrics that can be used

  • Manhattan
  • WMD-relax (pure WMD is too slow)

We need to set a threshold by comparing each or most of them with the current approach.
Accuracy, latency and speed of training is the main concern here.

Improve on matching speed by a NN search

Currently our speed is bound by the dot product of query and the document vectors.
We can use NN algorithm to speed up the process. To find the closest vectors given to the query vectors.

Show similarity score in search results

Currently only name and location is shown.
If we can show cosine similarity score with the search results users will have an intuition how much is the score difference in the first few items.

New cmd window opens each time a file is chosen from the ouptut window

After a term is searched, when the list of files is shown to choose from, when I select a given file, the file opens in the editor of my choice but also opens a new cmd window. This behavior is a bit annoying.

I also ran into a problem where it suddenly began selecting a file on an infinite loop thereby continuously creating cmd.exe prompts and opening the file in my editor. Have not been able to reproduce this. But I believe this is related to the earlier behavior.

Setup Info

  • Windows 10
  • Anaconda Python 3.7
  • Anaconda Prompt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.