text_original: Meanwhile the Persian attack on Herat had prac  tically failed, owing mainly to the skill and spirit of a young English officer, Eldred Pottinger, who was assisting the prince in his .resistance to the troops of the Persian Shah.
text_transcription: MEANWHILE THE PERSIAN ATTACK ON HEREAT HAD PRACTICALLY FAILED OWING MAINLY TO THE SKILL AND SPIRIT OF A YOUNG ENGLISH OFFICER ELDRED POTTINGER WHO WAS ASSISTING THE PRINCE IN HIS RESISTANCE TO THE TROOPS OF THE PERSIAN SHAW
phonemes: mˈiːnwaɪl ðə pˈɜːʒən ɐtˈæk ˌɔn hˈɛɹæt hæd pɹˈæk tˈɪkəli fˈeɪld, ˈoʊɪŋ mˈeɪnli tə ðə skˈɪl ænd spˈɪɹɪt əvə jˈʌŋ ˈɪŋɡlɪʃ ˈɑːfɪsɚ, ˈɛldɹɪd pˈɑːɾɪŋɡɚ, hˌuː wʌz ɐsˈɪstɪŋ ðə pɹˈɪns ɪn hˈɪz .ɹᵻsˈɪstəns tə ðə tɹˈuːps ʌvðə pˈɜːʒən ʃˈɑː.