# Revision history [back]

### 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 bc -> ab so a is replaced iff bac appears.

WordMorphism(“ab->b”)


### 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 bc b”a”c -> ab so a is replaced iff bac appears.

WordMorphism(“ab->b”)


### 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(“ab->b”)
WordMorphism(“bac->ab”)