Article rewriting with semantic understanding