For learning Similar document