fork(1) download
  1. # your code goes here
  2. text = "The SARs were leaked to the Buzzfeed website and shared with the International Consortium of Investigative Journalists (ICIJ). Panorama led the research for the BBC as part of a global probe. The ICIJ led the reporting of the Panama Papers and Paradise Papers leaks - secret files detailing the offshore activities of the wealthy and the famous. Fergus Shiel, from the consortium, said the FinCEN Files are an insight into what banks know about the vast flows of dirty money across the globe… [The] system that is meant to regulate the flows of tainted money is broken. The leaked SARs had been submitted to the US Financial Crimes Enforcement Network, or FinCEN between 2000 and 2017 and cover transactions worth about $2 trillion. FinCEN said the leak could impact US national security, risk investigations, and threaten the safety of those who file the reports. But last week it announced proposals to overhaul its anti-money laundering programmes. The UK also unveiled plans to reform its register of company information to clamp down on fraud and money laundering.The investment scam that HSBC was warned about was called WCM777. It led to the death of investor Reynaldo Pacheco, who was found under water on a wine estate in Napa, California, in April 2014. Police say he had been bludgeoned with rocks. He signed up to the scheme and was expected to recruit other investors. The promise was everyone would get rich. A woman Mr Pacheco, 44, introduced lost about $3,000. That led to the killing by men hired to kidnap him. He literally was trying to… make people's lives better, and he himself was scammed, and conned, and he unfortunately paid for it with his life,said Sgt Chris Pacheco (no relation), one of the officers who investigated the killing. Reynaldo, he said, was murdered for being a victim in a Ponzi scheme."
  3. words = [
  4. ('Buzzfeed', 28, 36, 'ORG'),
  5. ('International Consortium of Investigative Journalists', 61, 118, 'ORG'),
  6. ('Panorama', 127, 135, 'ORG'),
  7. ('BBC', 161, 164, 'ORG'),
  8. ('Panama Papers', 222, 239, 'ORG'),
  9. ('Fergus Shiel', 346, 358, 'PERSON'),
  10. ('Files', 397, 402, 'PRODUCT'),
  11. ('US Financial Crimes Enforcement Network', 608, 651, 'ORG'),
  12. ('FinCEN', 733, 739, 'ORG'),
  13. ('US', 767, 769, 'GPE'),
  14. ('last week', 869, 878, 'DATE'),
  15. ('UK', 956, 958, 'GPE'),
  16. ('HSBC', 1094, 1098, 'ORG'),
  17. ('Reynaldo Pacheco', 1167, 1183, 'PERSON'),
  18. ('Napa', 1231, 1235, 'GPE'),
  19. ('California', 1237, 1247, 'GPE'),
  20. ('April 2014', 1252, 1262, 'DATE'),
  21. ('Mr Pacheco', 1431, 1441, 'PERSON'),
  22. ('44', 1443, 1445, 'DATE'),
  23. ('Sgt Chris Pacheco', 1677, 1694, 'PERSON')
  24. ]
  25.  
  26. for w in sorted(words, key=lambda x:-x[1]):
  27. text = text[:w[1]] + '[' + text[w[1]:w[2]] + ']' + text[w[2]:]
  28.  
  29. print(text)
  30.  
Success #stdin #stdout 0.02s 9228KB
stdin
Standard input is empty
stdout
The SARs were leaked to the [Buzzfeed] website and shared with [the International Consortium of Investigative Journalists] (ICIJ). [Panorama] led the research for the [BBC] as part of a global probe. The ICIJ led the reporting of [the Panama Papers] and Paradise Papers leaks - secret files detailing the offshore activities of the wealthy and the famous. [Fergus Shiel], from the consortium, said the FinCEN [Files] are an insight into what banks know about the vast flows of dirty money across the globe… [The] system that is meant to regulate the flows of tainted money is broken. The leaked SARs had been submitted to [the US Financial Crimes Enforcement Network], or FinCEN between 2000 and 2017 and cover transactions worth about $2 trillion. [FinCEN] said the leak could impact [US] national security, risk investigations, and threaten the safety of those who file the reports. But [last week] it announced proposals to overhaul its anti-money laundering programmes. The [UK] also unveiled plans to reform its register of company information to clamp down on fraud and money laundering.The investment scam that [HSBC] was warned about was called WCM777. It led to the death of investor [Reynaldo Pacheco], who was found under water on a wine estate in [Napa], [California], in [April 2014]. Police say he had been bludgeoned with rocks. He signed up to the scheme and was expected to recruit other investors. The promise was everyone would get rich. A woman [Mr Pacheco], [44], introduced lost about $3,000. That led to the killing by men hired to kidnap him. He literally was trying to… make people's lives better, and he himself was scammed, and conned, and he unfortunately paid for it with his life,said [Sgt Chris Pacheco] (no relation), one of the officers who investigated the killing. Reynaldo, he said, was murdered for being a victim in a Ponzi scheme.