誰かと思えばなんとトム君だった。

Sentence Analyzer

思えば なんと とむ だった

English Translation

Who should I meet but Tom?

Furigana

(だれ)かと(おも)えばなんとトム(くん)だった。

Romanji

Dare ka to omoeba nanto Tomu kun datta.

Words

(だれ、たれ、た)
who
()
indicates a question (sometimes rhetorical); or; whether or not; some- (e.g. something, someone); indicates doubt, uncertainty, etc.; emphatic prefix; suffix forming adjectives or adverbs; in that way
()
if; when; and; with; particle used for quoting (with speech, thoughts, etc.); quoting particle; promoted pawn; indicates question (sentence end)
思う (おもう)
to think; to consider; to believe; to think (of doing); to plan (to do); to judge; to assess; to regard; to imagine; to suppose; to dream; to expect; to look forward to; to feel; to desire; to want; to recall; to remember
何と (なんと)
what; how; whatever
富む (とむ)
to be rich; to become rich; to be abundant (with); to abound (with); to be rich (in)
(くん)
Mr (junior); master; boy
()
be; is; indicates past or completed action; indicates light imperative

Kanji

Readings: スイ、 だれ、 たれ、 た
Meanings: who, someone, somebody
Readings: シ、 おも.う、 おもえら.く、 おぼ.す
Meaning: think
Readings: クン、 きみ、 -ぎみ
Meanings: mister, you, ruler, male name suffix