Yaxin commited on
Commit
4b2611a
1 Parent(s): 546548a

Update SemEval2014Task4Raw.py

Browse files
Files changed (1) hide show
  1. SemEval2014Task4Raw.py +0 -2
SemEval2014Task4Raw.py CHANGED
@@ -165,8 +165,6 @@ class SemEvalXMLDataset():
165
  }
166
  aspectTerms.append(aspectTermDict)
167
 
168
- # 从小到大排序
169
- aspectTerms.sort(key=lambda x: int(x["from"]))
170
 
171
  aspectCategoriesXmlList = sentenceXml.getElementsByTagName("aspectCategory")
172
  aspectCategories = []
 
165
  }
166
  aspectTerms.append(aspectTermDict)
167
 
 
 
168
 
169
  aspectCategoriesXmlList = sentenceXml.getElementsByTagName("aspectCategory")
170
  aspectCategories = []