A Burnley man has been sentenced to more than seven years in prison for raping and assaulting a woman.