Judge sentences convicted rapist to prison term, recommends