In reply to this post:

@hsivonen @jyasskin given the API as specified, however, the "right" thing to do is to segment different locales separately, thus complicating the script considerably.