对给出的一段英文文本进行拼写检查，并对拼写错误的单词进行修正。
text: "He was warking in the park whan he sow a bird."
# TODO: perform spell check and correct misspelled words
Corrected text: "He was walking in the park when he saw a bird."