start = """
<View>
	<Style>
	.ant-form-inline { padding:0px; }
    .htx-richtext { padding:20px; }
	</Style>
	<View style="padding: 1em; box-shadow: 2px 2px 5px #999;">
		<Text name="premise" value="$premise"/>
	</View>
	<View style="display: grid;  align-content: top; grid-template-columns: 1fr 1fr 1fr; overflow:auto; height: 80vh;">
"""

mid = '<Text name="hypothesis_{}" value="$hypothesis_{}"/>\n<Choices name="correct_ner_{}" toName="hypothesis_{}" showInLine="true">\n<Choice value="Entails"/>\n<Choice value="Not Entails"/>\n<Choice value="Error"/>\n</Choices>\n<TextArea name="notes_{}" />'

end = """
	</View>
</View>
"""

ret = start

for i in range(1, 51):
    ret += mid.format(i, i, i, i, i)

ret += end

with open("multi_hypothesis_config.xml", "w") as f:
    f.write(ret)
