package Ġorg . m transit . commons . provider Ċ Ċ import Ġorg . m transit . commons . Clean Utils Ċ import Ġorg . m transit . commons . StringUtils . EMPTY Ċ import Ġjava . util . regex . Pattern Ċ Ċ object ĠO tt awa OC Tr ansp o Provider Common s Ġ{ ĊĊĠĠĠ Ġprivate Ġval ĠFIX _ CA IR INE _ W IL SON _ Ġ= ĠClean Utils . clean Words (" car ine Ġw il son ") ĊĠĠĠ Ġprivate Ġval ĠFIX _ CA IR INE _ W IL SON _ REPLACE MENT Ġ= ĠClean Utils . clean Words Replacement (" C air ine ĠWil son ") ĊĊĠĠĠ Ġprivate Ġval ĠREMOVE _ SECOND _ LANGUAGE Ġ= ĠPattern . compile ("( Ġ~ Ġ. *$ )") Ġ// ĠFIXME Ġi 1 8 n Ġhead - sign s ĊĊĠĠĠ Ġ@ Jvm Static ĊĠĠĠ Ġfun Ġclean Trip Head sign ( trip Head Sign : ĠString , Ġ@ Suppress (" UNUSED _ PARAMETER ") Ġvar arg Ġignore Words : ĠString ): ĠString Ġ{ ĊĠĠĠĠĠĠĠ Ġvar Ġnew Trip Head Sign Ġ= Ġtrip Head Sign ĊĠĠĠĠĠĠĠ Ġnew Trip Head Sign Ġ= ĠREMOVE _ SECOND _ LANGUAGE . matcher ( new Trip Head Sign ). replaceAll ( EMPTY ) ĊĠĠĠĠĠĠĠ Ġnew Trip Head Sign Ġ= ĠFIX _ CA IR INE _ W IL SON _. matcher ( new Trip Head Sign ). replaceAll ( FIX _ CA IR INE _ W IL SON _ REPLACE MENT ) ĊĠĠĠĠĠĠĠ Ġnew Trip Head Sign Ġ= ĠClean Utils . fix Mc X Case ( new Trip Head Sign ) ĊĠĠĠĠĠĠĠ Ġnew Trip Head Sign Ġ= ĠClean Utils . clean Bounds ( new Trip Head Sign ) ĊĠĠĠĠĠĠĠ Ġnew Trip Head Sign Ġ= ĠClean Utils . clean Sl ashes ( new Trip Head Sign ) ĊĠĠĠĠĠĠĠ Ġnew Trip Head Sign Ġ= ĠClean Utils . clean Label ( new Trip Head Sign ) ĊĠĠĠĠĠĠĠ Ġreturn Ġnew Trip Head Sign ĊĠĠĠ Ġ} Ċ }