This workflow shows how the keyword "go for joe" that can be written in differnt ways, can be converted into the same term before creating a bag of words and calculating the term frequency.
“go for joe” is written in different ways:
gfj
g4j
go 4 joe
go for joe