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

SCILPY-BOT Version 1 #1016

Closed
wants to merge 66 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
bba0166
generate help files for all the scripts in the scripts folder
May 31, 2024
6004993
use help files only if search_parser argument is provided
May 31, 2024
0430fdb
modify scripts path
Jun 4, 2024
6311d10
add stemming functions
Jun 4, 2024
e520d2f
modify _contains_stemmed_keywords function
Jun 4, 2024
127bf0f
regenerate hidden files if not already existing
Jun 4, 2024
000f747
Color keywords in the terminal output
Jun 6, 2024
237301c
generate json_files
Jun 7, 2024
83b7088
search by synonyms
Jun 21, 2024
872e5a4
caddsynonyms-,keywords and acronyms json files
Jun 21, 2024
0ea271a
Add the search in keywords json file
Jun 26, 2024
7c8c7ee
clean code
Jul 2, 2024
542e8c8
clean code
Jul 2, 2024
eb801e7
search in docstring then in helpfiles instead of letting the user cho…
Jul 2, 2024
22825e8
Add search by objects
Jul 2, 2024
d0c105c
let user chose between objects instead o giving it as argument
Jul 2, 2024
21559c6
display scripts by score
Jul 2, 2024
b765dad
calculate frequency of keywords in each script
Jul 4, 2024
829f164
don't display 'Results ordered by score' if no matches were found
Jul 4, 2024
8bfb5bf
stem the search text in the scoring function
Jul 13, 2024
a05a7a7
add some new synonyms
Jul 22, 2024
c7aec39
add stemming to words between double quotes
Jul 22, 2024
1836ac8
modify score and add search_category argument
Jul 23, 2024
f22398a
add no_synonyms argument
Jul 23, 2024
dd5bd73
deal with quoted words and add docstring to functions
Jul 24, 2024
52c0edb
change vocabulary path
Jul 24, 2024
cc82882
count synonyms occurence in the score
Jul 24, 2024
7843521
change hidden file path
Jul 24, 2024
b91d93c
correct the score for synonyms search
Jul 24, 2024
eb61787
clean code
Jul 24, 2024
a9b9a20
add comment
Jul 25, 2024
1a96362
add hidden folder to gitignore
Jul 30, 2024
a63d0c7
add nltk to requirements
Jul 30, 2024
4e85268
remove .hidden older
Aug 1, 2024
e6fc235
added a try-except block for importing nltk with a message if the pac…
Aug 1, 2024
c95762a
delete generate_help_files script and add it as a function to scilpy_…
Aug 1, 2024
1e02c5e
Reverse output of the result
Aug 1, 2024
6990cda
merge synonyms acronyms and keywords in the same json file
Aug 1, 2024
0d42190
change vocabulary json file's path and adapt the scripts to that
Aug 2, 2024
663c28a
change the _calculate_score function to use regex to match the whole …
Aug 5, 2024
ade5f42
modify docstring
Aug 5, 2024
6588d1a
change the _generate_help_files function to display progress of files…
Aug 5, 2024
2d0f12f
delete useless files os and subprocess
Aug 5, 2024
2dfa03e
run autopep8 on the changed and new scripts
Aug 5, 2024
6a4afaf
fix conflict in requirements
Aug 5, 2024
62ac325
add a test for the search_category and no_synonyms args
jinan02 Aug 6, 2024
8ef24dc
run flake8 on the changed scripts
jinan02 Aug 6, 2024
c97a583
add unit tests or scilpy_bot.py
jinan02 Aug 7, 2024
a39552d
pep8 on test_scilpy_bot.py
jinan02 Aug 8, 2024
9f7705b
add progress bar to show progress of help files generation
jinan02 Aug 15, 2024
7ce9b6c
run autopepe on the scilpy_bot.py script
jinan02 Aug 15, 2024
c055d69
use logging library to display the messages
jinan02 Aug 17, 2024
b4cbaf3
display one progress bar for the files generation
jinan02 Aug 17, 2024
6a166d2
modify the message that is displayed when the hidden file does not exist
jinan02 Aug 17, 2024
6e8949f
used tqdm.write to display the messages instead of logging
jinan02 Aug 17, 2024
fea23ec
lowercase the name of the vocaulary file and folder
jinan02 Aug 17, 2024
c48d476
change folder and file name in data folder
jinan02 Aug 17, 2024
a99f85f
style: added missing whitespace
jinan02 Aug 18, 2024
944ddce
downcase all vocabulary
jinan02 Aug 18, 2024
b07e190
change acronyms format
jinan02 Aug 19, 2024
0fdb98d
change the way the scores are updated for synonyms
jinan02 Aug 19, 2024
48109d9
style the code to respect the pep8 rules
jinan02 Aug 19, 2024
ef6966b
add initialize_logging function
jinan02 Aug 26, 2024
297b8bc
fix the -v arg to display the 1st sentence of the docstring and -v DE…
jinan02 Aug 26, 2024
7e991d8
modify docstring
jinan02 Aug 27, 2024
fff8bae
run flake8 on the script
jinan02 Aug 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,7 @@ target/
.vscode/

# Virtualenv
venv/
venv/

# Hidden folder
.hidden/
Loading