wanyu/IteraTeR_full_sent huggingface dataset:
Original: upFlag of Mogadishu under the Muẓaffarids, according to Fernão Vaz Dourado's map of 1576 The Muẓaffarids (or Muẓaffar dynasty) were a Muslim dynasty that ruled the Banaadir coast with their capital at Mogadishu from the late 15th or early 16th centuryuntil around 1624 or possibly as late as 1700.: "In the late fifteenth or early sixteenth century a Muzaffarid dynasty, apparently related to the Somali Ajuran, who by then controlled the lower Shebele basin, was established at Mogadishu. Later the Ajuran succumbed to Hawiya immigrants and the Muzaffarid dynasty collapsed about 1624.": "As to Mogadishu, when its independence was once asserted, although tribute was occasionally paid to quieten the Portuguese, the town enjoyed virtual self-government until c. 1700, when the Muzaffarid dynasty was overthrown by an invasion of the Somali, since then its rulers and now the majority of its inhabitants. " They were of Persian extraction and related to the Somali Ajuran clan. : "The Ajuran Sultanate amalgamated other existing dynasties such as the Muzaffar, of mixed Persian–Somali ancestry, who ruled the Benadir coast from Mogadishu , and created a confederacy of clans. .." They were effectively independent, but allied to the more powerful Ajuran Sultanate.: "Recent coin finds also indicate that Mogadishu minted its own local currency from 1300 to 1700. But this economic affluence was very much dependent on international trade ; and the economic decline of these coastal city-states, which may have started around the 15th century, was accelerated when the Portuguese began intercepting their trade during the 16th century.
Revised: upFlag of Mogadishu under the Muẓaffarids, according to Fernão Vaz Dourado's map of 1576 The Muẓaffarids (or Muẓaffar dynasty) were a Muslim dynasty that ruled the Banaadir coast with their capital at Mogadishu from the late 15th century, in modern day Mogadishu. Abu Bakr was from the Ajuran clan. The Muzaffar dynasty succeeded the Fakhr-Al din Sultanate also known as the sultanate of Mogadishu. The Muzaffarid kingdom was so powerful and is known to be one of the most powerful kingdoms in Africa due to its economic hight. The Muẓaffarids played a major role in the Ottomman expeditions in the Swahili coast and Ajuran Portuguese conflict. The Muzzafarids during the 17th century the Muzaffarid Empire defeated Oromo forces near Mogadishu . its is known for it's trade, the economic decline of these coastal city-states, which may have started around the 15th century, was accelerated when the Portuguese began intercepting their trade during the 16th century.
Edit intent: meaning-changed
Original:  and the economic decline of these coastal city-states, which may have started around the 15th century, was accelerated when the Portuguese began intercepting their trade during the 16th century. This economic calamity was followed by the overthrow of both the Ajuran dynasty of the Banadir hinterland and Muzaffar dynasty of Mogadishu by Hawiye clans. These allied dynasties had assisted in building a regional economy based on trade and tribute that linked the coast to the interior." They resisted the Portuguese, but occasionally paid them tribute. : "The Muzaffar dynasty ruled Mogadishu in  the late fifteenth and early sixteenth centuries.
Revised:  and the Muzaffarids dominated trade im the Indian Ocean, they also established trade links with North Africans and south East Asians. At one point in time the Muzaffarid's had to pay tribute to the Portuguese Empire, and this was how the Portuguese asserted their dominance in the Swahili, and Somali coast. the late fifteenth and early sixteenth centuries.
Edit intent: meaning-changed
Original:  : "The Muzaffar dynasty ruled Mogadishu in  the late fifteenth and early sixteenth centuries. The city fought off the Portuguese, who were expanding their sphere of influence all along the Swahili Coast, but by   the end of  the seventeenth century it had been taken over by another foreign power, the sultan of Oman."
Revised:  : "The Muzaffar dynasty ruled Mogadishu in the constant raids led by the Abgaal Hawiye clan. the end of the seventeenth century it had been taken over by another foreign power, the sultan of Oman."
Edit intent: meaning-changed
Original:  The city fought off the Portuguese, who were expanding their sphere of influence all along the Swahili Coast, but by   the end of  the seventeenth century it had been taken over by another foreign power, the sultan of Oman."
Revised:  The city fought off the Portuguese, who were expanding their sphere of influence all along the Swahili Coast, but by Location The Muzzafar kingdom was a large kingdom located in southern Somalia, at its peak the Muzaffarids asserted control over the Shabelle River which now runs through central Somalia, and south eastern Ethiopia. under the Muzaffarid's Mogadishu prospered, Many Mogadishan nobles asserted control over islands located in the Indian Ocean, one being Mal=dives. the end of the seventeenth century it had been taken over by another foreign power, the sultan of Oman."
Edit intent: meaning-changed
Original:  The city fought off the Portuguese, who were expanding their sphere of influence all along the Swahili Coast, but by   the end of  the seventeenth century it had been taken over by another foreign power, the sultan of Oman."
Revised:  The city fought off the Portuguese, who were expanding their sphere of influence all along the Swahili Coast, but by Origins of the end of the seventeenth century it had been taken over by another foreign power, the sultan of Oman."
Edit intent: fluency
Original:  The city fought off the Portuguese, who were expanding their sphere of influence all along the Swahili Coast, but by   the end of  the seventeenth century it had been taken over by another foreign power, the sultan of Oman."
Revised:  The city fought off the Portuguese, who were expanding their sphere of influence all along the Swahili Coast, but by the Muzzafarid rulers the seventeenth century it had been taken over by another foreign power, the sultan of Oman."
Edit intent: meaning-changed
Original:  The city fought off the Portuguese, who were expanding their sphere of influence all along the Swahili Coast, but by   the end of  the seventeenth century it had been taken over by another foreign power, the sultan of Oman."
Revised:  The city fought off the Portuguese, who were expanding their sphere of influence all along the Swahili Coast, but by the end of The Muzzafar Empire was established by Abu Bakr Garen. Abu Bakr Garen was from the Royal Ajuran family and ruled Qelafo. Abu Bakr Bakr Garen moved to Mogadishu around 1504 and with Ajuran support he took control of Mogadishu and overthrow the FakrAldin sultanate. According to some historians the rulers of the seventeenth century it had been taken over by another foreign power, the sultan of Oman."
Edit intent: meaning-changed
Original:  The city fought off the Portuguese, who were expanding their sphere of influence all along the Swahili Coast, but by   the end of  the seventeenth century it had been taken over by another foreign power, the sultan of Oman." In the 17th century, the Muẓaffarids were conquered by the Somali Hawiye.
Revised:  The city fought off the Portuguese, who were expanding their sphere of influence all along the Swahili Coast, but by the end of the 
Edit intent: coherence
Original:  The Muẓaffarid is the second known dynasty of Mogadishu. Its first attested ruler, ʿUmar al-Malik al-Muẓaffar, bore the title of sultan. He is known from his coins. Coins were minted throughout the Muẓaffarid period. The prosperity of Mogadishu during this time stemmed from its status as a trade link between the interior and the sea and its alliance with Ajuran.
Revised:  Mufazzar kingdom had Arab origin to support this claim Ibn Battuta notes that Arab merchants and sheikhs from Yemen were migrating to the southern Somali coastline for trade and religious reasons. The vast majority of the sea and its alliance with Ajuran.
Edit intent: meaning-changed
Original:  The prosperity of Mogadishu during this time stemmed from its status as a trade link between the interior and the sea and its alliance with Ajuran. The city, however, was already in decline when the Muẓaffarids took over.  
Revised:  The prosperity of Mogadishu during this time stemmed from its status as a trade link between the interior and the sheikhs and priest claimed descent from Mohammed Bin Abdullah through his nephew Ali bin Abu Talib. The sheikhs were given Baraka and were able to establish their own kingdoms and lands, Micheal Dampah claims in his book that through this the Muzaffar dynasty was born. Somalis strongly disagree with this and according to Abdullah.Abdullahi Abu Bakr Muzaffar was a native Somali. 
Edit intent: meaning-changed
Original:  The city, however, was already in decline when the Muẓaffarids took over.  
Revised:  The city, however, was already in decline when the Muẓaffarids took over. Somali perspective According to their beliefs the Muzaffar came from Qelafo and were a part of the Garen dynasty soon after Abu Bakr Garen established his own kingdom (Mufazzar Kingdom). However we can back Battuta’s claim because according to the Ajuran clan their ancestor was a Yemeni merchant by the name of Samaale and migrated into the area, and preached Islam. I.M Lewis supports Batutta’s claim by stating that Mogadishu was made up of Persians and Arab councilmen. however I.M Lewis continues and claims that Arabs and Persians had to ask the native dark skinned peoples for permission to settle in the Mufazzar territory. Ibn Battuta claims that the natives were Dark skinned people who spoke a distant language and would soon adapt the Arab culture. 
Edit intent: meaning-changed
Original: The Muzzafar Sultanate () was a Somalis Muslim sultanate established by Abu Bakr bin Omar Muzaffar in the late 15th century, in modern day Mogadishu .
Revised: upFlag of Mogadishu under the Muẓaffarids, according to Fernão Vaz Dourado's map of 1576 The Muẓaffarids (or Muẓaffar dynasty) were a Muslim dynasty that ruled the Banaadir coast with their capital at Mogadishu from the late 15th century, in modern day Mogadishu .
Edit intent: meaning-changed
Original: The Muzzafar Sultanate () was a Somalis Muslim sultanate established by Abu Bakr bin Omar Muzaffar in the late 15th century, in modern day Mogadishu . Abu Bakr was from the Ajuran clan. The Muzaffar dynasty succeeded the Fakhr-Al din Sultanate also known as the sultanate of Mogadishu.
Revised: The Muzzafar Sultanate () was a Somalis Muslim sultanate established by Abu Bakr bin Omar Muzaffar in the late 15th or early 16th century until around 1624 or possibly as late as 1700.: "In the late fifteenth or early sixteenth century a Muzaffarid dynasty, apparently related to the sultanate of Mogadishu.
Edit intent: meaning-changed
Original:  The Muzaffar dynasty succeeded the Fakhr-Al din Sultanate also known as the sultanate of Mogadishu. The Muzaffarid kingdom was so powerful and is known to be one of the most powerful kingdoms in Africa due to its economic hight. The Muẓaffarids played a major role in the Ottomman expeditions in the Swahili coast and AjuranPortuguese conflict. The Muzzafarids during the 17th century the Muzaffarid Empire defeated Oromo forces near Mogadishu . its is known for it's trade, the Muzaffarids dominated trade im the Indian Ocean, they also established trade links with North Africans and south East Asians.
Revised:  The Muzaffar dynasty succeeded the Fakhr-Al din Sultanate also known as the Somali Ajuran, who by then controlled the lower Shebele basin, was established at Mogadishu. Later the Ajuran succumbed to Hawiya immigrants and the Muzaffarid dynasty collapsed about 1624.": "As to Mogadishu, when its independence was once asserted, although tribute was occasionally paid to quieten the Portuguese, the Muzaffarids dominated trade im the Indian Ocean, they also established trade links with North Africans and south East Asians.
Edit intent: meaning-changed
Original:  The Muzzafarids during the 17th century the Muzaffarid Empire defeated Oromo forces near Mogadishu . its is known for it's trade, the Muzaffarids dominated trade im the Indian Ocean, they also established trade links with North Africans and south East Asians. At one point in time the Muzaffarid's had to pay tribute to the Portuguese Empire, and this was how the Portuguese assertedtheir dominance in the Swahili, and Somali coast.
Revised:  The Muzzafarids during the 17th century the Muzaffarid Empire defeated Oromo forces near Mogadishu . its is known for it's trade, the 
Edit intent: coherence
Original: %DIFDELCMD < %DIFDELCMD < %%% Location The Muzzafar kingdom was a large kingdom located in southern Somalia, at its peak the Muzaffarids asserted control over the Shabelle River which now runs through central Somalia, and south eastern Ethiopia. under the Muzaffarid's Mogadishu prospered, Many Mogadishan nobles asserted control over islands located in the Indian Ocean, one being Mal=dives.
Revised: %DIFDELCMD < %DIFDELCMD < %%% 
Edit intent: meaning-changed
Original:  Origins of the Muzzafarid rulers%DIFDELCMD < %DIFDELCMD < %%% The Muzzafar Empire was established by Abu Bakr Garen. Abu Bakr Garen was from the Royal Ajuran family and ruled Qelafo. Abu Bakr Bakr Garen moved to Mogadishu around 1504 and with Ajuran support he took control of Mogadishu and overthrow the FakrAldin sultanate. According to some historians the rulers of the Mufazzar kingdom had Arab origin to support this claim Ibn Battuta notes that Arab merchants and sheikhs from Yemen were migrating to the southern Somali coastline for trade and religious reasons. The vast majority of the sheikhs and priest claimed descent from Mohammed Bin Abdullah through his nephew Ali bin Abu Talib.The sheikhs were given Baraka and were able to establish their own kingdoms and lands, Micheal Dampah claims in his book that through this the Muzaffar dynasty was born. Somalis strongly disagree with this and according to Abdullah.Abdullahi Abu Bakr Muzaffar was a native Somali . Somali perspective According to their beliefs the Muzaffarcame from Qelafo and were a part of the Garen dynasty soon after Abu Bakr Garen established his own kingdom (Mufazzar Kingdom).
Revised:  Origins of the Muzzafarid rulers%DIFDELCMD < %DIFDELCMD < %%% Somali perspective According to their beliefs the Muzaffarcame from Qelafo and were a part of the Garen dynasty soon after Abu Bakr Garen established his own kingdom (Mufazzar Kingdom).
Edit intent: meaning-changed
Original: Abdullahi Abu Bakr Muzaffar was a native Somali . Somali perspective According to their beliefs the Muzaffarcame from Qelafo and were a part of the Garen dynasty soon after Abu Bakr Garen established his own kingdom (Mufazzar Kingdom).However we can back Battuta’s claim because according to the Ajuran clan their ancestor was a Yemeni merchant by the name of Samaale and migrated into the area, and preached Islam.I.M Lewis supports Batutta’s claim by stating that Mogadishu was made up of Persians and Arab councilmen. however I.M Lewis continues and claims that Arabs and Persians had to ask the native dark skinned peoples for permission to settle in the Mufazzar territory. Ibn Battuta claims that the natives were Dark skinned people who spoke a distant language and would soon adapt the Arab culture.
Revised: Abdullahi Abu Bakr Muzaffar was a native Somali . 
Edit intent: coherence
Original: %DIFDELCMD < %DIFDELCMD < %%% Economy/Trade The Muzaffarid's Minted coins, they established a currency known as the Mogadishu currency. Thw currency of the Muzaffarids bears the name of all the 23 sultans, the Mogadishan currency adopted the Ottoman style of currency, the Muzaffarid's which were heavily influence by the Ajuran supported the Ajuran trade. Mogadishan couns have been found in the United Arab Emirates, and Sofala.
Revised: %DIFDELCMD < %DIFDELCMD < %%% 
Edit intent: meaning-changed
Original:  Portuguese influence and conflict%DIFDELCMD < %DIFDELCMD < %%% After Barawa, Tristão would set sail for Mogadishu, which was the richest city on the East African coast.
Revised:  %DIFDELCMD < %DIFDELCMD < %%% After Barawa, Tristão would set sail for Mogadishu, which was the richest city on the East African coast.
Edit intent: coherence
Original:  Portuguese influence and conflict%DIFDELCMD < %DIFDELCMD < %%% After Barawa, Tristão would set sail for Mogadishu, which was the richest city on the East African coast.
Revised:  Portuguese influence and conflict%DIFDELCMD < %DIFDELCMD < %%% town enjoyed virtual self-government until c. 1700, when the Muzaffarid dynasty was overthrown by an invasion of the richest city on the East African coast.
Edit intent: meaning-changed
Original:  Portuguese influence and conflict%DIFDELCMD < %DIFDELCMD < %%% After Barawa, Tristão would set sail for Mogadishu, which was the richest city on the East African coast. But word had spread of what had happened in Barawa, and a large troop mobilization had taken place. Many horsemen, soldiers and battleships in defense positions were now guarding the city. Nevertheless, Tristão still opted to storm and attempt to conquer the city, although every officer and soldier in his army opposed this, fearing certain defeat if they were to engage their opponents in battle. Tristão heeded their advice and sailed for Socotra instead.The History of the Portuguese, During the Reign of Emmanuel pg.287 After the battle the city of Barawa quickly recovered from the attack.
Revised:  Portuguese influence and conflict%DIFDELCMD < %DIFDELCMD < %%% After Barawa, Tristão would set sail for Mogadishu, which was the Somali, since then its rulers and now the majority of its inhabitants." They were of Persian extraction and related to the Portuguese, During the Reign of Emmanuel pg.287 After the battle the city of Barawa quickly recovered from the attack.
Edit intent: meaning-changed
Original: The History of the Portuguese, During the Reign of Emmanuel pg.287 After the battle the city of Barawa quickly recovered from the attack. The book of Duarte Barbosa – Page 30 170x170px|In 1698, the Portuguese in Mombasa surrendered to a joint Somali-Omani force.
Revised: The History of the Somali Ajuran clan.: "The Ajuran Sultanate amalgamated other existing dynasties such as the Muzaffar, of mixed Persian – Page 30 170x170px|In 1698, the Portuguese in Mombasa surrendered to a joint Somali-Omani force.
Edit intent: meaning-changed
Original:  The book of Duarte Barbosa – Page 30 170x170px|In 1698, the Portuguese in Mombasa surrendered to a joint Somali-Omani force.Tanzania notes and records: the journal of the Tanzania Society pg 76 After the Battle of Benadir a peace treaty was signed.Over the next several decades Somali-Portuguese tensions would remain high and the increased contact between Somali sailors and Ottoman corsairs worried the Portuguesewho sent a punitive expedition against Mogadishu under João de Sepúlveda, which was unsuccessful.The Portuguese period in East Africa – p. 112 However the Portuguese extracted tribute from Mogadishu, and Muzzafarids was influenced by the Portuguese until the fellow muslim Omani Empire fought the  Portuguese, and pushed them back to their original borders.
Revised:  The book of Duarte Barbosa – Somali ancestry, who ruled the Benadir coast from Mogadishu, and created a confederacy of clans..." They were effectively independent, but allied to the more powerful Ajuran Sultanate.: "Recent coin finds also indicate that Mogadishu minted its own local currency from 1300 to 1700. But this economic affluence was very much dependent on international trade; and the Portuguese, and pushed them back to their original borders.
Edit intent: meaning-changed
Original: The Portuguese period in East Africa – p. 112 However the Portuguese extracted tribute from Mogadishu, and Muzzafarids was influenced by the Portuguese until the fellow muslim Omani Empire fought the  Portuguese, and pushed them back to their original borders.
Revised: The Portuguese period in East Africa – p. 112 However the Portuguese extracted tribute from Mogadishu, and Muzzafarids was influenced by the Portuguese until the fellow muslim Omani Empire fought the economic decline of these coastal city-states, which may have started around the 15th century, was accelerated when the Portuguese began intercepting their trade during the 16th century. This economic calamity was followed by the overthrow of both the Ajuran dynasty of the Banadir hinterland and Muzaffar dynasty of Mogadishu by Hawiye clans. These allied dynasties had assisted in building a regional economy based on trade and tribute that linked the coast to the interior." They resisted the Portuguese, and pushed them back to their original borders.
Edit intent: meaning-changed
Original: The Portuguese period in East Africa – p. 112 However the Portuguese extracted tribute from Mogadishu, and Muzzafarids was influenced by the Portuguese until the fellow muslim Omani Empire fought the  Portuguese, and pushed them back to their original borders.
Revised: The Portuguese period in East Africa – p. 112 However the Portuguese extracted tribute from Mogadishu, and Muzzafarids was influenced by the Portuguese until the fellow muslim Omani Empire fought the Portuguese, 
Edit intent: coherence
Original:  Fall of the Muzaffarid Empire Hawiye conflict 19th century By the early 19th century Hawiye settlers were migrating near the Bendari coast.
Revised:  but occasionally paid them tribute.: "The Muzaffar dynasty ruled Mogadishu in the Muzaffarid Empire Hawiye conflict 19th century By the early 19th century Hawiye settlers were migrating near the Bendari coast.
Edit intent: meaning-changed
Original:  Fall of the Muzaffarid Empire Hawiye conflict 19th century By the early 19th century Hawiye settlers were migrating near the Bendari coast.The Hawiye settlers were from Hiraab and were from the Abgaal clan, The Abgaal surrounded Mogadishu and led numerous raids in the early 19th century The Muzzafarid kingdom was suffering. To the east the Geledi who were uprising destroyed the Silcis Sultanate and their goal was to conquer Xamar (Mogadishu) The Abgaal (Yaquub sultanate) sacked Mogadishu and invaded it, killing the remaining Ajuran in the area . Galla/Jiddle conflict 1890’s in the west The Jubba river was under Galla control and the Muzzafarid Empire led a expedition againts the Galla in the area, The Muzzafarids expelled the Jiddle from Somalia and pushed them back to the Shabelle located in Ethiopia.
Revised:  Fall of the Muzaffarid Empire late fifteenth and early sixteenth centuries. The city fought off the Portuguese, who were expanding their sphere of influence all along the Swahili Coast, but by the end of the seventeenth century it had been taken over by another foreign power, the sultan of Oman." In the 17th century, the Muẓaffarids were conquered by the Somali Hawiye . Galla/Jiddle conflict 1890’s in the west The Jubba river was under Galla control and the Muzzafarid Empire led a expedition againts the Galla in the area, The Muzzafarids expelled the Jiddle from Somalia and pushed them back to the Shabelle located in Ethiopia.
Edit intent: meaning-changed