A Linear-Time On-Line Recognition Algorithm for ``Palstar''