Original sentence: Against Allied troops armed with semi-automatic rifles and machine guns, the banzai charge proved to be costly, despite having a chance of success, and its use was largely discontinued, except as a final suicidal gesture by surrounded Japanese forces
Edited sentence: Against Allied troops armed with semi-automatic rifles and machine guns which could provide enough firepower to stop this kind of attack in its tracks, the banzai charge proved to be costly, despite having a chance of success, and its use was largely discontinued, except as a final suicidal gesture by surrounded Japanese forces