Module tongue.util
Tongue needs to process lots of interesting data, here are some utility functions it might use.
Functions
split_category (category) | Split a category into its components. |
Functions
- split_category (category)
-
Split a category into its components.
Categories can have low level languages, sub languages (countries), and character sets. This routine splits a category string in the same way as glibc does which seems to be a reasonable ‘standard’ to use.
Parameters:
- category string The category to split up
Returns: