Text this: Abstraction-based segmental simulation of reaction networks using adaptive memoization