メアリーと私が同じ汽車に乗り合わせたのは全くの偶然だった。

Sentence Analyzer

メアリー 同じ 汽車 乗り合わせた 全く 偶然 だった

English Translation

It was sheer coincidence that Mary and I were on the same train.

Furigana

メアリーと(わたし)(おな)汽車(きしゃ)()()わせたのは(まった)くの偶然(ぐうぜん)だった。

Romanji

Meari- to watashi ga onaji kisha ni noriawaseta no wa mattaku no gūzen datta.

Words

()
if; when; and; with; particle used for quoting (with speech, thoughts, etc.); quoting particle; promoted pawn; indicates question (sentence end)
(わたし、わたくし)
I; me; private affairs; personal matter; secrecy; selfishness
()
indicates sentence subject (occasionally object); indicates possessive (esp. in literary expressions); but; however; still; and
同じ (おなじ、おんなじ)
same; identical; equal; uniform; equivalent; similar; common (origin); changeless; alike; (usu. part of a 'nara' conditional) anyway; anyhow; in either case
汽車 (きしゃ)
train (sometimes specifically a steam train)
()
at (place, time); in; on; during; to (direction, state); toward; into; for (purpose); because of (reason); for; with; by; from; as (i.e. in the role of); per; in; for; a (e.g. "once a month"); and; in addition to; if; although
乗り合わせる (のりあわせる)
to happen to ride together; to share a vehicle; to (operate a) carpool
()
indicates possessive; nominalizes verbs and adjectives; substitutes for "ga" in subordinate phrases; (at sentence-end, falling tone) indicates a confident conclusion; (at sentence-end) indicates emotional emphasis; (at sentence-end, rising tone) indicates question
()
topic marker particle; indicates contrast with another option (stated or unstated); adds emphasis
全く (まったく)
really; truly; entirely; completely; wholly; perfectly; indeed; good grief (expression of exasperation)
偶然 (ぐうぜん)
(by) chance; unexpectedly; suddenly; accident; fortuity; by coincidence
()
be; is; indicates past or completed action; indicates light imperative

Kanji

Readings: シ、 わたくし、 わたし
Meanings: private, I, me
Readings: ドウ、 おな.じ
Meanings: same, agree, equal
Reading: 
Meanings: vapor, steam
Readings: シャ、 くるま
Meaning: car
Readings: ジョウ、 ショウ、 の.る、 -の.り、 の.せる
Meanings: ride, power, multiplication, record, counter for vehicles, board, mount, join
Readings: ゴウ、 ガッ、 カッ、 あ.う、 -あ.う、 あ.い、 あい-、 -あ.い、 -あい、 あ.わす、 あ.わせる、 -あ.わせる
Meanings: fit, suit, join, 0.1
Readings: ゼン、 まった.く、 すべ.て
Meanings: whole, entire, all, complete, fulfill
Readings: グウ、 たま
Meanings: accidentally, even number, couple, man & wife, same kind
Readings: ゼン、 ネン、 しか、 しか.り、 しか.し、 さ
Meanings: sort of thing, so, if so, in that case, well