"time":["next","afterward","finally","later","last","lastly","at last","now","subsequently","then","when","soon","thereafter","after a short time","the next week","a minute later","in the meantime","meanwhile","on the following day","at length","ultimately","presently"],
"sequence":["first","second","third","finally","hence","next","then","from here on","to begin with","last of all","after","before","as soon as","in the end","gradually","when","after","after that","afterwards","next","subsequently","later (on)","followed by","to go on to","finally","another","additionally","finally moreover","also","subsequently","eventually","next","then"],
"example":["for example","to illustrate","for instance","to be specific","such as","moreover","furthermore","just as important","similarly","in the same way","for example","for instance","namely","such as","as follows","as exemplified by","such as","including","especially","particularly","in particular","notably","mainly"],
"result":["as a result","hence","so","accordingly","as a consequence","consequently","thus","since","therefore","for this reason","because of this","therefore","accordingly","as a result of","the result is/results are","the consequence is","resulting from","consequently","it can be seen","evidence illustrates that","because of this","thus","hence","for this reason","owing to x","this suggests that","it follows that","otherwise","in that case","that implies","As a result","therefore","thus"],
"purpose":["for this purpose","with this in mind","for this reason"],
"comparison":["like","in the same manner","as so","similarly"],
"contrast":["but","in contrast","conversely","however","still","nevertheless","nonetheless","yet","and yet","on the other hand","on the contrary","or","in spite of this","actually","in fact","whereas","conversely","in comparison","by contrast","in contrast","contrasting","alternatively","although","otherwise","instead"],
"summary":["in summary","to sum up","to repeat","briefly","in short","finally","on the whole","therefore","as I have said","in conclusion","as seen","in conclusion","therefore","to conclude","on the whole","hence","thus to summarise","altogether","overall"],
"rephrasing":["in other terms","rather","or","better","in view of this","in contrast"]}
```
%% Cell type:code id: tags:
``` python
defparse_data(infile,string_input=False)->list:
"""
This function is to read a gold or a pred file to obtain the label column for accuracy calculation.
:param infile: shared task .rels file
:param string_input: If True, files are replaced by strings with file contents (for import inside other scripts)