g.py 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. # {'_id': ObjectId('5ddf2dc61837f865396daaff'), 'topic_id': 10175267, 'slave': [
  2. # {'content': 'How many reasons for the Dead Sea’s shrinking does the author mention in the passage?', 'answer': 'C',
  3. # 'topic_slave_id': 100328581, 'option': [{'content': 'One.', 'is_true': 0}, {'content': 'Two.', 'is_true': 0},
  4. # {'content': 'Three.', 'is_true': 1}, {'content': 'Four.', 'is_true': 0}]},
  5. # {'content': 'What does the underlined word “diverted” in paragraph 3 mean?', 'answer': 'A',
  6. # 'topic_slave_id': 100328582,
  7. # 'option': [{'content': 'Switch.', 'is_true': 1}, {'content': 'Improve.', 'is_true': 0},
  8. # {'content': 'Accomplish.', 'is_true': 0}, {'content': 'Repair.', 'is_true': 0}]},
  9. # {'content': 'Which of the following statements is TRUE according to the passage?', 'answer': 'C',
  10. # 'topic_slave_id': 100328583,
  11. # 'option': [{'content': 'The Dead Sea is drying out causing water shortage to humans.', 'is_true': 0},
  12. # {'content': 'Küstner visited the Dead Sea to shoot TV series about people’s life.', 'is_true': 0},
  13. # {'content': 'The Dead Sea’s minerals have been used in some products.', 'is_true': 1},
  14. # {'content': 'The Dead Sea’s water levels have been stabilized by building a canal.', 'is_true': 0}]},
  15. # {'content': 'What is the passage mainly about?', 'answer': 'D', 'topic_slave_id': 100328584,
  16. # 'option': [{'content': 'How the Dead Sea’s water levels’ decline influences human beings.', 'is_true': 0},
  17. # {'content': 'How important the Dead Sea is in Israel,Jordan and the West Bank.', 'is_true': 0},
  18. # {'content': 'What we should do to save the Dead Sea from being destroyed.', 'is_true': 0},
  19. # {'content': 'Why the Dead Sea is dying and the measure taken to save it.', 'is_true': 1}]}], 'type': 0,
  20. # 'status': 1,
  21. # 'content': '<p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;text-indent:28px;padding:0 0 0 0 ;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;vertical-align:middle;line-height:150%"><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">Something’s happening at the lowest point on our planet,some 1,388 feet below sea level.</span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;text-indent:28px;padding:0 0 0 0 ;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;vertical-align:middle;line-height:150%"><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">The Dead Sea,a salt lake close to Israel,Jordan and the West Bank,is shrinking at an alarming rate—about 3.3 feet per year,according to the environmentalist group EcoPeace Middle East.</span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;text-indent:28px;padding:0 0 0 0 ;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;vertical-align:middle;line-height:150%"><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">“It’s not just like one country is punishing the Dead Sea;it’s more like the whole region,”said photographer Moritz Kustner,who visited the area in February to work on his series “The Dying Dead Sea”.</span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;text-indent:28px;padding:0 0 0 0 ;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;vertical-align:middle;line-height:150%"><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">The Dead Sea needs water from the other natural sources surrounding it,such as the Jordan River basin.But around the 1960s, the courses of some water sources it relied upon were </span><span style="line-height: 150%; letter-spacing: 0px; font-size: 14px; background: rgb(255, 255, 255); border-bottom:1px solid;padding-bottom: 2px;">diverted</span><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">. Israel, for instance, built a pipeline during that time so it could supply water throughout the country.</span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;text-indent:28px;padding:0 0 0 0 ;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;vertical-align:middle;line-height:150%"><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">Mineral extraction(</span><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)"><span style="font-family:宋体">提取</span></span><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">)</span><span style="font-family: 宋体;line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">&nbsp;</span><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">industries are another main reason why the water levels are declining,experts say.The Dead Sea’s minerals have been popular for their medical power and can often be found in cosmetics(</span><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)"><span style="font-family:宋体">化妆品</span></span><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">)</span><span style="font-family: 宋体;line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">&nbsp;</span><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">and other consumer products.</span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;text-indent:28px;padding:0 0 0 0 ;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;vertical-align:middle;line-height:150%"><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">And then,of course,there’s the Middle East’s hot,dry climate,which makes it difficult for the lake to refill itself.Last year,Israel and Jordan signed a $ 900 million deal &nbsp;in an effort to stabilize the Dead Sea’s water levels.It involves building a canal from the Red Sea to the Dead Sea which would be able to not only supply water to Israel and Jordan but also to pump much needed water—some 300 million cubic meters annually—into the Dead Sea.</span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;text-indent:28px;padding:0 0 0 0 ;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;vertical-align:middle;line-height:150%"><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">“This is the most important and significant agreement since the peace treaty with Jordan (in 1994),”said Silvan Shalom,Israel’s energy and water resources minister at the time.Whether the canal—estimated to take three years to complete—will work out positively and as planned remains to be seen.</span></p><p style="margin: 0px; text-indent: 28px; padding: 0px; text-align: justify; vertical-align: middle; line-height: 150%;"><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">For now, Kustner shows us that the Dead Sea remains very much a place of interest, with people from all over the world going there to swim in its salty waters.</span></p>',
  22. # 'answer': '', 'subject_id': 10,
  23. # 'all_content': 'Something’s happening at the lowest point on our planet,some 1,388 feet below sea level.The Dead Sea,a salt lake close to Israel,Jordan and the West Bank,is shrinking at an alarming rate—about 3.3 feet per year,according to the environmentalist group EcoPeace Middle East.“It’s not just like one country is punishing the Dead Sea;it’s more like the whole region,”said photographer Moritz Kustner,who visited the area in February to work on his series “The Dying Dead Sea”.The Dead Sea needs water from the other natural sources surrounding it,such as the Jordan River basin.But around the 1960s, the courses of some water sources it relied upon were diverted. Israel, for instance, built a pipeline during that time so it could supply water throughout the country.Mineral extraction(提取) industries are another main reason why the water levels are declining,experts say.The Dead Sea’s minerals have been popular for their medical power and can often be found in cosmetics(化妆品) and other consumer products.And then,of course,there’s the Middle East’s hot,dry climate,which makes it difficult for the lake to refill itself.Last year,Israel and Jordan signed a $ 900 million deal in an effort to stabilize the Dead Sea’s water levels.It involves building a canal from the Red Sea to the Dead Sea which would be able to not only supply water to Israel and Jordan but also to pump much needed water—some 300 million cubic meters annually—into the Dead Sea.“This is the most important and significant agreement since the peace treaty with Jordan (in 1994),”said Silvan Shalom,Israel’s energy and water resources minister at the time.Whether the canal—estimated to take three years to complete—will work out positively and as planned remains to be seen.For now, Kustner shows us that the Dead Sea remains very much a place of interest, with people from all over the world going there to swim in its salty waters. How many reasons for the Dead Sea’s shrinking does the author mention in the passage? One. Two. Three. Four. What does the underlined word “diverted” in paragraph 3 mean? Switch. Improve. Accomplish. Repair. Which of the following statements is TRUE according to the passage? The Dead Sea is drying out causing water shortage to humans. Küstner visited the Dead Sea to shoot TV series about people’s life. The Dead Sea’s minerals have been used in some products. The Dead Sea’s water levels have been stabilized by building a canal. What is the passage mainly about? How the Dead Sea’s water levels’ decline influences human beings. How important the Dead Sea is in Israel,Jordan and the West Bank. What we should do to save the Dead Sea from being destroyed. Why the Dead Sea is dying and the measure taken to save it.',
  24. # 'is_audit': 1, 'final_draft': 1, 'topic_type_id': 3, 'grade': 1, 'checked': 1, 'source_type': 0, 'sim_score': 1,
  25. # 'group': 348668}
  26. #
  27. # {'_id': ObjectId('5ddf2ddd1837f865396dab04'), 'topic_id': 10175272, 'slave': [
  28. # {'content': 'How many reasons for the Dead Sea’s shrinking does the author mention in the passage?', 'answer': 'C',
  29. # 'topic_slave_id': 100328600, 'option': [{'content': 'One.', 'is_true': 0}, {'content': 'Two.', 'is_true': 0},
  30. # {'content': 'Three.', 'is_true': 1}, {'content': 'Four.', 'is_true': 0}]},
  31. # {'content': 'What does the underlined word “diverted” in paragraph 3 mean?', 'answer': 'A',
  32. # 'topic_slave_id': 100328601,
  33. # 'option': [{'content': 'Switch.', 'is_true': 1}, {'content': 'Improve.', 'is_true': 0},
  34. # {'content': 'Accomplish.', 'is_true': 0}, {'content': 'Repair.', 'is_true': 0}]},
  35. # {'content': 'Which of the following statements is TRUE according to the passage?', 'answer': 'C',
  36. # 'topic_slave_id': 100328603,
  37. # 'option': [{'content': 'The Dead Sea is drying out causing water shortage to humans.', 'is_true': 0},
  38. # {'content': 'Küstner visited the Dead Sea to shoot TV series about people’s life.', 'is_true': 0},
  39. # {'content': 'The Dead Sea’s minerals have been used in some products.', 'is_true': 1},
  40. # {'content': 'The Dead Sea’s water levels have been stabilized by building a canal.', 'is_true': 0}]},
  41. # {'content': 'What is the passage mainly about?', 'answer': 'D', 'topic_slave_id': 100328604,
  42. # 'option': [{'content': 'How the Dead Sea’s water levels’ decline influences human beings.', 'is_true': 0},
  43. # {'content': '<p>How important the Dead Sea is in Israel, Jordan and the West Bank.</p>', 'is_true': 0},
  44. # {'content': 'What we should do to save the Dead Sea from being destroyed.', 'is_true': 0},
  45. # {'content': 'Why the Dead Sea is dying and the measure taken to save it.', 'is_true': 1}]}], 'type': 0,
  46. # 'status': 1,
  47. # 'content': '<p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;text-indent:28px;padding:0 0 0 0 ;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;vertical-align:middle;line-height:150%"><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">Something’s happening at the lowest point on our planet, some 1,388 feet below sea level. The Dead Sea, a salt lake close to Israel, Jordan and the West Bank, is shrinking at an alarming rate—about 3.3 feet per year, according to the environmentalist group EcoPeace Middle East.</span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;text-indent:28px;padding:0 0 0 0 ;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;vertical-align:middle;line-height:150%"><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">“It’s not just like one country is punishing the Dead Sea; it’s more like the whole region,” said photographer Moritz Küstner, who visited the area in February to work on his series “The Dying Dead Sea”.</span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;text-indent:28px;padding:0 0 0 0 ;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;vertical-align:middle;line-height:150%"><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">The Dead Sea needs water from the other natural sources surrounding it, such as the Jordan River basin. But around the 1960s, the courses of some water sources it relied upon were </span><span style="line-height: 150%; letter-spacing: 0px; font-size: 14px; background: rgb(255, 255, 255); border-bottom:1px solid;padding-bottom: 2px;">diverted</span><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">. Israel, for instance, built a pipeline during that time so it could supply water throughout the country.</span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;text-indent:28px;padding:0 0 0 0 ;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;vertical-align:middle;line-height:150%"><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">Mineral extraction(</span><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)"><span style="font-family:宋体">提取</span></span><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">)</span><span style="font-family: 宋体;line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">&nbsp;</span><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">industries are another main reason why the water levels are declining, experts say. The Dead Sea’s minerals have been popular for their medical power and can often be found in cosmetics(</span><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)"><span style="font-family:宋体">化妆品</span></span><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">)</span><span style="font-family: 宋体;line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">&nbsp;</span><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">and other consumer products.</span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;text-indent:28px;padding:0 0 0 0 ;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;vertical-align:middle;line-height:150%"><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">And then, of course, there’s the Middle East’s hot, dry climate, which makes it difficult for the lake to refill itself. Last year, Israel and Jordan signed a $ 900 million deal in an effort to stabilize the Dead Sea’s water levels. It involves building a canal from the Red Sea to the Dead Sea which would be able to not only supply water to Israel and Jordan but also to pump much needed water—some 300 million cubic meters annually—into the Dead Sea.</span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;text-indent:28px;padding:0 0 0 0 ;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;vertical-align:middle;line-height:150%"><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">“This is the most important and significant agreement since the peace treaty with Jordan (in 1994),” said Silvan Shalom, Israel’s energy and water resources minister at the time. Whether the canal—estimated to take three years to complete—will work out positively and as planned remains to be seen.</span></p><p style="margin: 0px; text-indent: 28px; padding: 0px; text-align: justify; vertical-align: middle; line-height: 150%;"><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">For now, Küstner shows us that the Dead Sea remains very much a place of interest, with people from all over the world going there to swim in its salty waters.</span></p>',
  48. # 'answer': '', 'subject_id': 10,
  49. # 'all_content': 'Something’s happening at the lowest point on our planet, some 1,388 feet below sea level. The Dead Sea, a salt lake close to Israel, Jordan and the West Bank, is shrinking at an alarming rate—about 3.3 feet per year, according to the environmentalist group EcoPeace Middle East.“It’s not just like one country is punishing the Dead Sea; it’s more like the whole region,” said photographer Moritz Küstner, who visited the area in February to work on his series “The Dying Dead Sea”.The Dead Sea needs water from the other natural sources surrounding it, such as the Jordan River basin. But around the 1960s, the courses of some water sources it relied upon were diverted. Israel, for instance, built a pipeline during that time so it could supply water throughout the country.Mineral extraction(提取) industries are another main reason why the water levels are declining, experts say. The Dead Sea’s minerals have been popular for their medical power and can often be found in cosmetics(化妆品) and other consumer products.And then, of course, there’s the Middle East’s hot, dry climate, which makes it difficult for the lake to refill itself. Last year, Israel and Jordan signed a $ 900 million deal in an effort to stabilize the Dead Sea’s water levels. It involves building a canal from the Red Sea to the Dead Sea which would be able to not only supply water to Israel and Jordan but also to pump much needed water—some 300 million cubic meters annually—into the Dead Sea.“This is the most important and significant agreement since the peace treaty with Jordan (in 1994),” said Silvan Shalom, Israel’s energy and water resources minister at the time. Whether the canal—estimated to take three years to complete—will work out positively and as planned remains to be seen.For now, Küstner shows us that the Dead Sea remains very much a place of interest, with people from all over the world going there to swim in its salty waters. How many reasons for the Dead Sea’s shrinking does the author mention in the passage? One. Two. Three. Four. What does the underlined word “diverted” in paragraph 3 mean? Switch. Improve. Accomplish. Repair. Which of the following statements is TRUE according to the passage? The Dead Sea is drying out causing water shortage to humans. Küstner visited the Dead Sea to shoot TV series about people’s life. The Dead Sea’s minerals have been used in some products. The Dead Sea’s water levels have been stabilized by building a canal. What is the passage mainly about? How the Dead Sea’s water levels’ decline influences human beings. How important the Dead Sea is in Israel, Jordan and the West Bank. What we should do to save the Dead Sea from being destroyed. Why the Dead Sea is dying and the measure taken to save it.',
  50. # 'is_audit': 1, 'final_draft': 1, 'topic_type_id': 3, 'grade': 1, 'checked': 1, 'source_type': 0, 'sim_score': 1,
  51. # 'group': 348670}
  52. # {'_id': ObjectId('5ddf2dd41837f865396dab02'), 'topic_id': 10175269, 'slave': [
  53. # {'content': 'How many reasons for the Dead Sea’s shrinking does the author mention in the passage?', 'answer': 'C',
  54. # 'topic_slave_id': 100328593, 'option': [{'content': 'One.', 'is_true': 0}, {'content': 'Two.', 'is_true': 0},
  55. # {'content': 'Three.', 'is_true': 1}, {'content': 'Four.', 'is_true': 0}]},
  56. # {'content': 'What does the underlined word “diverted” in paragraph 3 mean?', 'answer': 'A',
  57. # 'topic_slave_id': 100328597,
  58. # 'option': [{'content': 'Switch.', 'is_true': 1}, {'content': 'Improve.', 'is_true': 0},
  59. # {'content': 'Accomplish.', 'is_true': 0}, {'content': 'Repair.', 'is_true': 0}]},
  60. # {'content': 'Which of the following statements is TRUE according to the passage?', 'answer': 'C',
  61. # 'topic_slave_id': 100328598,
  62. # 'option': [{'content': 'The Dead Sea is drying out causing water shortage to humans.', 'is_true': 0},
  63. # {'content': 'Küstner visited the Dead Sea to shoot TV series about people’s life.', 'is_true': 0},
  64. # {'content': 'The Dead Sea’s minerals have been used in some products.', 'is_true': 1},
  65. # {'content': 'The Dead Sea’s water levels have been stabilized by building a canal.', 'is_true': 0}]},
  66. # {'content': 'What is the passage mainly about?', 'answer': 'D', 'topic_slave_id': 100328599,
  67. # 'option': [{'content': 'How the Dead Sea’s water levels’ decline influences human beings.', 'is_true': 0},
  68. # {'content': 'How important the Dead Sea is in Israel,Jordan and the West Bank.', 'is_true': 0},
  69. # {'content': 'What we should do to save the Dead Sea from being destroyed.', 'is_true': 0},
  70. # {'content': 'Why the Dead Sea is dying and the measure taken to save it.', 'is_true': 1}]}], 'type': 0,
  71. # 'status': 1,
  72. # 'content': '<p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;text-indent:28px;padding:0 0 0 0 ;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;vertical-align:middle;line-height:150%"><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">Something’s happening at the lowest point on our planet,some 1,388 feet below sea level.The Dead Sea,a salt lake close to Israel,Jordan and the West Bank,is shrinking at an alarming rate—about 3.3 feet per year,according to the environmentalist group EcoPeace Middle East.</span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;text-indent:28px;padding:0 0 0 0 ;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;vertical-align:middle;line-height:150%"><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">“It’s not just like one country is punishing the Dead Sea;it’s more like the whole region,”said photographer Moritz Küstner,who visited the area in February to work on his series “The Dying Dead Sea”.</span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;text-indent:28px;padding:0 0 0 0 ;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;vertical-align:middle;line-height:150%"><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">The Dead Sea needs water from the other natural sources surrounding it,such as the Jordan River basin.But around the 1960s, the courses of some water sources it relied upon were </span><span style="line-height: 150%; letter-spacing: 0px; font-size: 14px; background: rgb(255, 255, 255); border-bottom:1px solid;padding-bottom: 2px;">diverted</span><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">. Israel, for instance, built a pipeline during that time so it could supply water throughout the country.</span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;text-indent:28px;padding:0 0 0 0 ;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;vertical-align:middle;line-height:150%"><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">Mineral extraction(</span><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)"><span style="font-family:宋体">提取</span></span><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">)</span><span style="font-family: 宋体;line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">&nbsp;</span><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">industries are another main reason why the water levels are declining,experts say.The Dead Sea’s minerals have been popular for their medical power and can often be found in cosmetics(</span><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)"><span style="font-family:宋体">化妆品</span></span><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">)</span><span style="font-family: 宋体;line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">&nbsp;</span><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">and other consumer products.</span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;text-indent:28px;padding:0 0 0 0 ;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;vertical-align:middle;line-height:150%"><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">And then,of course,there’s the Middle East’s hot,dry climate,which makes it difficult for the lake to refill itself.Last year,Israel and Jordan signed a $ 900 million deal &nbsp;in an effort to stabilize the Dead Sea’s water levels.It involves building a canal from the Red Sea to the Dead Sea which would be able to not only supply water to Israel and Jordan but also to pump much needed water—some 300 million cubic meters annually—into the Dead Sea.</span></p><p style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;text-indent:28px;padding:0 0 0 0 ;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;vertical-align:middle;line-height:150%"><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">“This is the most important and significant agreement since the peace treaty with Jordan (in 1994),”said Silvan Shalom,Israel’s energy and water resources minister at the time.Whether the canal—estimated to take three years to complete—will work out positively and as planned remains to be seen.</span></p><p style="margin: 0px; text-indent: 28px; padding: 0px; text-align: justify; vertical-align: middle; line-height: 150%;"><span style="line-height: 150%;letter-spacing: 0;font-size: 14px;background: rgb(255, 255, 255)">For now, Küstner shows us that the Dead Sea remains very much a place of interest, with people from all over the world going there to swim in its salty waters.</span></p>',
  73. # 'answer': '', 'subject_id': 10,
  74. # 'all_content': 'Something’s happening at the lowest point on our planet,some 1,388 feet below sea level.The Dead Sea,a salt lake close to Israel,Jordan and the West Bank,is shrinking at an alarming rate—about 3.3 feet per year,according to the environmentalist group EcoPeace Middle East.“It’s not just like one country is punishing the Dead Sea;it’s more like the whole region,”said photographer Moritz Küstner,who visited the area in February to work on his series “The Dying Dead Sea”.The Dead Sea needs water from the other natural sources surrounding it,such as the Jordan River basin.But around the 1960s, the courses of some water sources it relied upon were diverted. Israel, for instance, built a pipeline during that time so it could supply water throughout the country.Mineral extraction(提取) industries are another main reason why the water levels are declining,experts say.The Dead Sea’s minerals have been popular for their medical power and can often be found in cosmetics(化妆品) and other consumer products.And then,of course,there’s the Middle East’s hot,dry climate,which makes it difficult for the lake to refill itself.Last year,Israel and Jordan signed a $ 900 million deal in an effort to stabilize the Dead Sea’s water levels.It involves building a canal from the Red Sea to the Dead Sea which would be able to not only supply water to Israel and Jordan but also to pump much needed water—some 300 million cubic meters annually—into the Dead Sea.“This is the most important and significant agreement since the peace treaty with Jordan (in 1994),”said Silvan Shalom,Israel’s energy and water resources minister at the time.Whether the canal—estimated to take three years to complete—will work out positively and as planned remains to be seen.For now, Küstner shows us that the Dead Sea remains very much a place of interest, with people from all over the world going there to swim in its salty waters. How many reasons for the Dead Sea’s shrinking does the author mention in the passage? One. Two. Three. Four. What does the underlined word “diverted” in paragraph 3 mean? Switch. Improve. Accomplish. Repair. Which of the following statements is TRUE according to the passage? The Dead Sea is drying out causing water shortage to humans. Küstner visited the Dead Sea to shoot TV series about people’s life. The Dead Sea’s minerals have been used in some products. The Dead Sea’s water levels have been stabilized by building a canal. What is the passage mainly about? How the Dead Sea’s water levels’ decline influences human beings. How important the Dead Sea is in Israel,Jordan and the West Bank. What we should do to save the Dead Sea from being destroyed. Why the Dead Sea is dying and the measure taken to save it.',
  75. # 'is_audit': 1, 'final_draft': 1, 'topic_type_id': 3, 'grade': 1, 'checked': 1, 'source_type': 0, 'sim_score': 1,
  76. # 'group': 348669}
  77. #
  78. # from fuzzywuzzy import fuzz
  79. #
  80. # s1 = 'Something’s happening at the lowest point on our planet, some 1,388 feet below sea level. The Dead Sea, a salt lake close to Israel, Jordan and the West Bank, is shrinking at an alarming rate—about 3.3 feet per year, according to the environmentalist group EcoPeace Middle East.“It’s not just like one country is punishing the Dead Sea; it’s more like the whole region,” said photographer Moritz Küstner, who visited the area in February to work on his series “The Dying Dead Sea”.The Dead Sea needs water from the other natural sources surrounding it, such as the Jordan River basin. But around the 1960s, the courses of some water sources it relied upon were diverted. Israel, for instance, built a pipeline during that time so it could supply water throughout the country.Mineral extraction(提取) industries are another main reason why the water levels are declining, experts say. The Dead Sea’s minerals have been popular for their medical power and can often be found in cosmetics(化妆品) and other consumer products.And then, of course, there’s the Middle East’s hot, dry climate, which makes it difficult for the lake to refill itself. Last year, Israel and Jordan signed a $ 900 million deal in an effort to stabilize the Dead Sea’s water levels. It involves building a canal from the Red Sea to the Dead Sea which would be able to not only supply water to Israel and Jordan but also to pump much needed water—some 300 million cubic meters annually—into the Dead Sea.“This is the most important and significant agreement since the peace treaty with Jordan (in 1994),” said Silvan Shalom, Israel’s energy and water resources minister at the time. Whether the canal—estimated to take three years to complete—will work out positively and as planned remains to be seen.For now, Küstner shows us that the Dead Sea remains very much a place of interest, with people from all over the world going there to swim in its salty waters. How many reasons for the Dead Sea’s shrinking does the author mention in the passage? One. Two. Three. Four. What does the underlined word “diverted” in paragraph 3 mean? Switch. Improve. Accomplish. Repair. Which of the following statements is TRUE according to the passage? The Dead Sea is drying out causing water shortage to humans. Küstner visited the Dead Sea to shoot TV series about people’s life. The Dead Sea’s minerals have been used in some products. The Dead Sea’s water levels have been stabilized by building a canal. What is the passage mainly about? How the Dead Sea’s water levels’ decline influences human beings. How important the Dead Sea is in Israel, Jordan and the West Bank. What we should do to save the Dead Sea from being destroyed. Why the Dead Sea is dying and the measure taken to save it.',
  81. #
  82. # s2 = 'Something’s happening at the lowest point on our planet,some 1,388 feet below sea level.The Dead Sea,a salt lake close to Israel,Jordan and the West Bank,is shrinking at an alarming rate—about 3.3 feet per year,according to the environmentalist group EcoPeace Middle East.“It’s not just like one country is punishing the Dead Sea;it’s more like the whole region,”said photographer Moritz Kustner,who visited the area in February to work on his series “The Dying Dead Sea”.The Dead Sea needs water from the other natural sources surrounding it,such as the Jordan River basin.But around the 1960s, the courses of some water sources it relied upon were diverted. Israel, for instance, built a pipeline during that time so it could supply water throughout the country.Mineral extraction(提取) industries are another main reason why the water levels are declining,experts say.The Dead Sea’s minerals have been popular for their medical power and can often be found in cosmetics(化妆品) and other consumer products.And then,of course,there’s the Middle East’s hot,dry climate,which makes it difficult for the lake to refill itself.Last year,Israel and Jordan signed a $ 900 million deal in an effort to stabilize the Dead Sea’s water levels.It involves building a canal from the Red Sea to the Dead Sea which would be able to not only supply water to Israel and Jordan but also to pump much needed water—some 300 million cubic meters annually—into the Dead Sea.“This is the most important and significant agreement since the peace treaty with Jordan (in 1994),”said Silvan Shalom,Israel’s energy and water resources minister at the time.Whether the canal—estimated to take three years to complete—will work out positively and as planned remains to be seen.For now, Kustner shows us that the Dead Sea remains very much a place of interest, with people from all over the world going there to swim in its salty waters. How many reasons for the Dead Sea’s shrinking does the author mention in the passage? One. Two. Three. Four. What does the underlined word “diverted” in paragraph 3 mean? Switch. Improve. Accomplish. Repair. Which of the following statements is TRUE according to the passage? The Dead Sea is drying out causing water shortage to humans. Küstner visited the Dead Sea to shoot TV series about people’s life. The Dead Sea’s minerals have been used in some products. The Dead Sea’s water levels have been stabilized by building a canal. What is the passage mainly about? How the Dead Sea’s water levels’ decline influences human beings. How important the Dead Sea is in Israel,Jordan and the West Bank. What we should do to save the Dead Sea from being destroyed. Why the Dead Sea is dying and the measure taken to save it.',
  83. #
  84. # print(fuzz.ratio(s1, s2))
  85. # col = ld.finder({'topic_type_id': 3, 'all_content': re.compile('sea', re.IGNORECASE), 'status': 1})
  86. # res_dic = {k:v for k,v in [[1,2],[2,3]]}
  87. # print(res_dic)
  88. [{'school_id': 1, 'item': '', 'special': ['460', '459'], 'topic_id': '581003147', 'subject_id': '6',
  89. 'topic_type_id': 1}]
  90. import time
  91. def get_topic_id():
  92. start = time.time()
  93. sps_set = ['460', '459']
  94. gaokao = []
  95. commen = []
  96. myquery = {"special_id": {"$regex": re.compile('|'.join(['460', '459']))}, "topic_type_id": 1,
  97. 'subject_id': 6, 'is_deleted': 0, 'is_stop': 0} # , 'old_exam': 1}
  98. mydoc = sp_col.find(myquery)
  99. for i in mydoc:
  100. if set(i['special_id'].split(',')).issubset(sps_set):
  101. if i['old_exam'] == 1 and i['topic_id'] not in gaokao:
  102. gaokao.append(i['topic_id'])
  103. else:
  104. if i['topic_id'] not in commen:
  105. commen.append(i['topic_id'])
  106. print(time.time() - start)
  107. return gaokao, commen