Cosmos: File and Folder Names

Created on 5 Mar 2018  路  4Comments  路  Source: OpenGenus/cosmos

This is a(n):

  • [ ] New algorithm
  • [ ] Update to an existing algorithm
  • [ ] Error
  • [x] Proposal to the Repository

Details:

Just wanted to discuss something that's common to Cosmos and Cosmos Search repos. During a search, we basically check if a .cpp etc. file exists in the Cosmos repo folder.

So during the search, if a query is taken as "Logistic regression", all possible uppercase/lowercase permutations will have to be generated for a match to be found (e.g Logistic regression, logistic Regression, Logistic Regression, Logistic REgression etc.).

Now if a protocol could be defined that forces all .cpp files and their folders to be named in ONLY lowercase, then this problem would not occur. Then, the query can be converted to lowercase and matched with the database of the files.

If you could allow us to rename the all existing files to lowercase, it could speed up the search!

Thanks,
Team GalSquared

Most helpful comment

This will fix that he/she will confuse if rule of name is not always be same.

All 4 comments

This will fix that he/she will confuse if rule of name is not always be same.

@iattempt So, do you think this is a good idea?

Yes.

In addition, I am writing a checker, it can detect name of file or directory is expectable or not.

@iattempt If you aren't already done with most of this tool, would you care to add me as a collaborator to the repository? I'd love to work on it!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

arnavb picture arnavb  路  3Comments

grantmwilliams picture grantmwilliams  路  4Comments

CaramelHeaven picture CaramelHeaven  路  3Comments

qoo2p5 picture qoo2p5  路  4Comments

rhendz picture rhendz  路  4Comments