Text Generator
Text Generator > Use Cases >Turn by turn directions

Turn by turn directions

Convert natural language to turn-by-turn directions.

Example input

  • Create a numbered list of turn-by-turn directions from this text: Go south on 95 until you hit Sunrise boulevard then take it east to us 1 and head south. Tom Jenkins bbq will be on the left after several miles.

Example real generated results

  • star

    A: This is one way I would approach it: 1) Start at your current location, go north for about 3 or 4 blocks (depending where you're going), you'll see an intersection with Route 9. 2) Take that route uphill towards Easton Avenue. You'll pass through some homes before reaching West End Road. 3) Go straight down westbound in front of them as far as possible without hitting anything else but trees. 4) Turn right onto Southwest Boulevard just past The Warehouse

  • star

    A: I think your problem is that you're not using an actual map, but rather some sort of "map". The way I would approach it: 1) Create two lists (one for each direction). In one set: North = {95}, South = {1-1} East = {2-2} West =0-2 2) Now use these as keys in another dictionary. TurnsToSun : {"East": 2, "West":0 }, Topside

  • star

    A: I think your problem is that you're not using any directional information in order for them to know where they are going. You can use some kind of heuristic, but I would suggest something like this: The first thing we need do is: find all possible paths between two points (say A & B): A -> C-> D <- E<- F G H J K L M N O P Q R S T U V W X Y Z We want

  • star

    A: This is an example for how I would write it: 1) Go north, past Route 9 (the intersection with Highway 94), onto US 2. 2) Take exit 3 at Exit 4A. You can see that there are two signs indicating where you're going: one says "Exit 4" while another reads "Sunrise Boulevard". 3) Turn right into Weston Road. 4) 5) 6) 7) 8) (9) (10) (11) 11 12 13 14

try it yourself: Text Generator Playground - Turn by turn directions