|
|
|
|
|
by geoelectric
4071 days ago
|
|
This is neat. I find myself wanting more detail on what works, though. For example, I c/ped your original example and tried "Roberto C. from Brazil." It didn't infer that C. meant to truncate the last name, so everything ended up "John C." No biggie, but trying to figure out what does and doesn't work aside from tokenized string formatting was a bummer. Having the uppercase example led me to believe it could do more types of transformation. Possible the right answer is hinting of some kind. "Roberto {C.} from Brazil" to hint that the C. should be matched with -something-, and since . naturally means abbreviation would mean "starts with C". |
|
Input:
Ex: 1. Taco BellOutput:
? When I take the spaces out of the restaurants I get:New Input:
Ex: 1. TacoBellNew Output: