View Single Post
Old Yesterday, 05:08 PM   #10
lomkiri
Groupie
lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.
 
lomkiri's Avatar
 
Posts: 187
Karma: 1537710
Join Date: Jul 2021
Device: N/A
Quote:
I would leave the list in the order FOUND. AKA just like it is.
I'm working on it ;-)

In fact, the very same function may be used for a more useful purpose (if anyone needs it), it can give the list of the files where appear the words defined in a list of words.

For example, replacing the line
if not dictionaries.recognized(word):
with the line :
if word in ['alpha', 'bravo', 'charlie', 'delta']:
will display the files where at least one of this words appears.
lomkiri is offline   Reply With Quote