sentences:  This was $12,000 greater than the average salary for a teacher in Pennsylvania.As of 2007, Pennsylvania ranked in the top 10 states in average teacher salaries.When adjusted for cost of living Pennsylvania ranked fourth in the nation for teacher compensation.