Say I had a text file with some comments, and then keys and values like so:

```
# The following is
# a list of words and their positions
I: 1
like: 2
to: 3, 5
go: 4
cafes: 6

```

How would I go about turning this into a sentence ('I like to go to cafes')? I supposed I should try to turn the text into a dictionary first, but was already having trouble removing comments and splitting it into keys and values...
Any help would be great!