ברכות ג:ד · Berakhot 3:4
בַּעַל קֶרִי מְהַרְהֵר בְּלִבּוֹ וְאֵינוֹ מְבָרֵךְ, לֹא לְפָנֶיהָ וְלֹא לְאַחֲרֶיהָ. וְעַל הַמָּזוֹן מְבָרֵךְ לְאַחֲרָיו, וְאֵינוֹ מְבָרֵךְ לְפָנָיו. רַבִּי יְהוּדָה אוֹמֵר, מְבָרֵךְ לִפְנֵיהֶם וּלְאַחֲרֵיהֶם:
Ezra the Scribe decreed that one who is ritually impure because of a seminal emission may not engage in matters of Torah until he has immersed in a ritual bath and purified himself. This halakha was accepted over the course of many generations; however, many disputes arose with regard to the Torah matters to which it applies. Regarding this, the mishna says: If the time for the recitation of Shema arrived and one is impure due to a seminal emission, he may contemplate Shema in his heart, but neither recites the blessings preceding Shema , nor the blessings following it. Over food which, after partaking, one is obligated by Torah law to recite a blessing, one recites a blessing afterward, but one does not recite a blessing beforehand, because the blessing recited prior to eating is a requirement by rabbinic law. And in all of these instances Rabbi Yehuda says: He recites a blessing beforehand and thereafter in both the case of Shema and in the case of food.
Word-by-word Breakdown (מילים ושרשים)
בַּעַל → one who is impure due to [ב - ע - ל]קֶרִי → a seminal emission [ק - ר - ה]מְהַרְהֵר → he may contemplate [ה - ר - ה]בְּלִבּוֹ → in his heart [ל - ב - ב]וְאֵינוֹ → and he does not [א - י - ן]מְבָרֵךְ → recite a blessing [ב - ר - כ]לֹא → not [ל - א]לְפָנֶיהָ → preceding it [פ - נ - ה]וְלֹא → and not [ל - א]לְאַחֲרֶיהָ → following it [א - ח - ר]וְעַל → Over [ע - ל]הַמָּזוֹן → food [ז - ו - ן]מְבָרֵךְ → he recites a blessing [ב - ר - כ]לְאַחֲרָיו → afterward [א - ח - ר]וְאֵינוֹ → and he does not [א - י - ן]מְבָרֵךְ → recite a blessing [ב - ר - כ]לְפָנָיו → beforehand [פ - נ - ה]רַבִּי → Rabbi [ר - ב - ב]יְהוּדָה → Yehuda [י - ד - ה]אוֹמֵר → says [א - מ - ר]מְבָרֵךְ → he recites a blessing [ב - ר - כ]לִפְנֵיהֶם → before them [פ - נ - ה]וּלְאַחֲרֵיהֶם → and after them [א - ח - ר]