Q:

How to find synonyms for some word from other texts

I was wondering how could I find words that have similar meaning just from lots of texts for example news articles.  

A:

One way can be using word2vec.  Train a word2vec on your texts (as a corpus).  Then explore near vectors to the vector of the query.  Or if you want similar words, cluster all obtained vectors and find meaningful clusters through them.