How to extract specific numbers from .txt file?

niccolo gaspari's icon

I want to extract numbers from a .txt file that is stored in my computer. I can recall the file into text object and put it in a dict, but when I connect dict.view nothing appears. I can get them into message from text but they can't be separeted this way.
I want to put the numbers from the text file into different flonum boxes according to their label. This is the patch. Is the problem the way they are written into the dictionary? Should they be in a JSON format?

text_form_analytics.maxpat
Max Patch

Source Audio's icon

Check the format of the dictionary.
You have to write text file in dictionary form, or write it so that
one can either dump it from text to dictionary, or simply route labels to float
from text without dictionary.
Simple as that
count 72 submittedNo 3 etc