Research Environment for Ancient Documents