Analyzing Historical Documents