Input (grade 5): Bun 'Å was a Japanese era name after ShÅ ka and before KÅ chÅ.
Output (grade 5): Bun 'Å was a Japanese era after ShÅ gen and before KÅ chÅ.