Skip to content

This will search all files in a directory in parallel for a search phrase you input. It will infer the file's source lang and translate your phrase to that language. At the end it will translate the files to English. Yeah motherfucker, and it is fast as fuck. Well, relatively fast for what it is doing.

Notifications You must be signed in to change notification settings

pronsSec/searchmatic_9001

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

The SearchMatic 9001

This will search all files in a directory in parallel for a search phrase you input. It will infer the file"s source lang and translate your phrase to that language. At the end it will translate the files to English. Yeah motherfucker, and it is fast as fuck. Well, relatively fast for what it is doing.


Screenshot 2023-03-04 at 12 30 33 AM


Usage:

  • pip3 install googletrans==4.0.0-rc1
  • python3 searchmatic.py

If you are trynna be a power user you might get API errors on the final translation. Sorry idk fix the scipt or something. Add in a huggingface translator or something. Idk maybe just comment it out if it's giving you trouble.


Per googletrans pypi page:

Note on library usage DISCLAIMER: this is an unofficial library using the web API of translate.google.com and also is not associated with Google.

The maximum character limit on a single text is 15k.

Due to limitations of the web version of google translate, this API does not guarantee that the library would work properly at all times (so please use this library if you don’t care about stability).


About

This will search all files in a directory in parallel for a search phrase you input. It will infer the file's source lang and translate your phrase to that language. At the end it will translate the files to English. Yeah motherfucker, and it is fast as fuck. Well, relatively fast for what it is doing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages