sentence: Then , in the 18th century , the Napoleonic army lived in it until the end of the Spanish war of independence .
modified: Then in the 18th century the Napoleonic army lived in it until the end of independence Spanish war .
transformation: PUNCT, PUNCT, DET, OTHER