Text this: A new approach to study carrier generation in graphene nanoribbons under lateral bias