While this solves the problem of the basic method, it only considers structural dependency and does not consider textual correlation which is supposed to be useful.
we calculate text based weights − logZ similarly.