Quantifying encoded semantics in language models through topical and bias information