Topic-wise Grammar