You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @vivolscute, previously all the variants are stored in memory (which could go up to GBs of memory depending on how big a wordlist is). #17 added VaryingString to only generate the variants on runtime to version 0.7.0.
If I'm not wrong, to get all the variants of all the words in the wordlist, you can use version 0.6.1 instead of the latest version 0.7.0 (with the same code you provided). Moreover, here is the function generating variants of a word:
It wouldn't be too hard to add a feature for this. However, the number of word variations can grow exponentially, sometimes to intractable numbers which leads to crashes. For example, if a word exists with more than 16 letter e's, it has 43,046,721 possible variants (see #15), and words like this have crashed my computer before due to excessive memory consumption. But words with this many variants are uncommon for most use cases, unless you're including full sentences. What we could do is add a fail-safe to this feature, which the end-user can disable at their own risk.
Hello 😊,
I want to get all possible leet words from my txt file and store it in list.
suppose I've a.txt file it contains following :
and I want to print All possible modified spellings of words stored in list
can you please share me a code for it it will be great!
Thanks and Have a Nice day! ❤️
The text was updated successfully, but these errors were encountered: