<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def text_to_char_array(original, alphabet):
 r""" Given a Python string ``original``, remove unsupported characters, map characters to integers and return a numpy array representing the processed string. """

    return np.asarray([alphabet.label_from_string(c) for c in original])