TF-IDF (term frequency Inverse document frequency) is a popular approach that can be leveraged to eliminate stop words. This technique is language independent.
The intuition here is that commonly occurring words, that occur in almost all documents are stop words. On the other hand, words that occur commonly, but only in some of the documents are useful words that enable identifying documents.
Take a look at the following question for more details:
https://machinelearninginterview.com/topics/natural-language-processing/what-is-the-formula-for-tf-idf-why-do-we-use-log-in-idf-formula/