Is there a way to have Context Sensitive Morphisms?    
   I be been using WordMorphism and I was wondering if there is a way to have context sensitive substitutions?
An example would be b”a”c -> ab so a is replaced iff bac appears.
WordMorphism(“bac->ab”)
 add a comment