Linguistic Analysis: From Data to Theory