• 2022-06-05 问题

    Reading Comprehension (2 points each;5O points in all)Section ADirecions: There arr four passages in this section. Each passage is followed by five questions or unfinished sratcments. For each of them there are four choices marked A.B.C and D. You should decide on the best choice. Passage ISubways arc underground trains. which usually operate 24 hours a day. They are found inlarger cities and usually run between the suburbs and uhe downtown areas. Maps and schedulcs arcavailable from the tickct otice. If you take uhe subway ofcn, you can savc moncy by purchasingamonthly pass(月票).City-operated buses nun on various routcs (线路)and are dcsigncd to be a cerain places atcertain time. Maps and schedules may be posted at cerain stops. or they may be available a localbanks. libraries. the student union. or from the bus drivers. Buses run mainly during the day.Fareispaid by exact change in coins. or by monthly passes.Taxis are generally morc cxpensive in the United States than in other countries. If youusc ataxi, bc sure you ask the amount of the fare before you ugrcc toride.The diver usually cxpectsatip(小费)of 1S pcrcent of the fare.D46.Accordingth passage.subways at undergrouod trains. which usually runYou<br/>can cet the maps and schcdulcs of the subway A: at bus station B: at<br/>local banks C: in any bookstores D: from<br/>the ticket omces

    Reading Comprehension (2 points each;5O points in all)Section ADirecions: There arr four passages in this section. Each passage is followed by five questions or unfinished sratcments. For each of them there are four choices marked A.B.C and D. You should decide on the best choice. Passage ISubways arc underground trains. which usually operate 24 hours a day. They are found inlarger cities and usually run between the suburbs and uhe downtown areas. Maps and schedulcs arcavailable from the tickct otice. If you take uhe subway ofcn, you can savc moncy by purchasingamonthly pass(月票).City-operated buses nun on various routcs (线路)and are dcsigncd to be a cerain places atcertain time. Maps and schedules may be posted at cerain stops. or they may be available a localbanks. libraries. the student union. or from the bus drivers. Buses run mainly during the day.Fareispaid by exact change in coins. or by monthly passes.Taxis are generally morc cxpensive in the United States than in other countries. If youusc ataxi, bc sure you ask the amount of the fare before you ugrcc toride.The diver usually cxpectsatip(小费)of 1S pcrcent of the fare.D46.Accordingth passage.subways at undergrouod trains. which usually runYou<br/>can cet the maps and schcdulcs of the subway A: at bus station B: at<br/>local banks C: in any bookstores D: from<br/>the ticket omces

  • 2021-04-14 问题

    中国大学MOOC:下面是一段文档的向量化的程序,且未经停用词过滤fromsklearn.feature_extraction.textimportCountVectorizercorpus=[JobswasthechairmanofAppleInc.,andhewasveryfamous,Iliketouseapplecomputer,AndIalsoliketoeatapple]vectorizer=CountVectorizer()print(vectorizer.vocabulary_)print(vectorizer.fit_transform(corpus).todense())#转化为完整特征矩阵已知print(vectorizer.vocabulary_)的输出结果为:{uand:1,ujobs:9,uapple:2,uvery:15,ufamous:6,ucomputer:4,ueat:5,uhe:7,uuse:14,ulike:10,uto:13,uof:11,ualso:0,uchairman:3,uthe:12,uinc:8,uwas:16}.则最后一条print语句中文档D1,即JobswasthechairmanofAppleInc.,andhewasveryfamous的向量为

    中国大学MOOC:下面是一段文档的向量化的程序,且未经停用词过滤fromsklearn.feature_extraction.textimportCountVectorizercorpus=[JobswasthechairmanofAppleInc.,andhewasveryfamous,Iliketouseapplecomputer,AndIalsoliketoeatapple]vectorizer=CountVectorizer()print(vectorizer.vocabulary_)print(vectorizer.fit_transform(corpus).todense())#转化为完整特征矩阵已知print(vectorizer.vocabulary_)的输出结果为:{uand:1,ujobs:9,uapple:2,uvery:15,ufamous:6,ucomputer:4,ueat:5,uhe:7,uuse:14,ulike:10,uto:13,uof:11,ualso:0,uchairman:3,uthe:12,uinc:8,uwas:16}.则最后一条print语句中文档D1,即JobswasthechairmanofAppleInc.,andhewasveryfamous的向量为

  • 2022-06-05 问题

    中国大学MOOC: 下面是一段文档的向量化的程序,且未经停用词过滤from sklearn.feature_extraction.text import CountVectorizercorpus = &#91;Jobs was the chairman of Apple Inc., and he was very famous,I like to use apple computer,And I also like to eat apple&#93; vectorizer =CountVectorizer()print(vectorizer.vocabulary_)print(vectorizer.fit_transform(corpus).todense()) #转化为完整特征矩阵已知print(vectorizer.vocabulary_)的输出结果为:{uand: 1, ujobs: 9, uapple: 2, uvery: 15, ufamous: 6, ucomputer: 4, ueat: 5, uhe: 7, uuse: 14, ulike: 10, uto: 13, uof: 11, ualso: 0, uchairman: 3, uthe: 12,

    中国大学MOOC: 下面是一段文档的向量化的程序,且未经停用词过滤from sklearn.feature_extraction.text import CountVectorizercorpus = &#91;Jobs was the chairman of Apple Inc., and he was very famous,I like to use apple computer,And I also like to eat apple&#93; vectorizer =CountVectorizer()print(vectorizer.vocabulary_)print(vectorizer.fit_transform(corpus).todense()) #转化为完整特征矩阵已知print(vectorizer.vocabulary_)的输出结果为:{uand: 1, ujobs: 9, uapple: 2, uvery: 15, ufamous: 6, ucomputer: 4, ueat: 5, uhe: 7, uuse: 14, ulike: 10, uto: 13, uof: 11, ualso: 0, uchairman: 3, uthe: 12,

  • 1