Natural language analysis using a network model