Text this: Spatial Epidemic Patterns Recognition Using Computer Algebra