Set sentiment for each message in NLU file

I am trying to create a sentiment analyzer in my bot. I have multiple NLU files. Is there any way to specify labels(i.e. positive, negative, and neutral) for those messages?

I can specify all the labels in a single file corresponding to all the messages, but I am not sure in which order the NLU files are read from the data directory. So that may lead to erroneous results as the messages coming to the tokenizer component of the pipeline may not have the same order as labels.

there is a tutorial here on adding a sentiment analyzer component Enhancing Rasa NLU models with Custom Components