<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def parse_dimension(text):
 """ Parses the given text into one dimension and returns its equivalent size in points. The numbers provided can be integer or decimal, but exponents are not supported. The units may be inches (", in, ins, inch, inchs, inches), millimeters (mm), points (pt, pts, point, points, or nothing), or centimeters (cm). Because this module is intended for use with paper-size dimensions, no larger or smaller units are currently supported. """

    size, unit = _split_dimension(text)
    factor = _unit_lookup[unit]
    return size*factor