parser
パーサー
解説 Definition
文字列や入力データを分析し、その構文や構造を理解するためのソフトウェアやプログラム。
A parser is a computer program, or part of a program, that examines text and breaks it into parts according to rules. It is commonly used in computing, language processing, and data analysis. The word is technical and often appears in programming contexts.
覚え方のコツ Memory Tip
parser はまず parse を軸に覚えると定着します。parse は文やデータをルールに従って細かく区切り、構造を読み取ること。そこに teacher, reader と同じ -er が付いて、「解析するもの」になります。実際にも JSON parser, XML parser, argument parser のように、入力をばらして意味のある部品に分ける場面でよく出ます。compiler や interpreter と違って、parser の中心は“実行”ではなく“構造を正しく読み解く”ことだと押さえると混同しにくいです。
Start from parse, which means to break language or data into parts and read the structure. Then add -er, like in reader or teacher, so a parser is the thing that does that job. JSON parser and XML parser are useful examples to keep in mind.
例文
The XML parser converts text into structured data.
XMLパーサーはテキストを構造化されたデータに変換する。
The compiler includes a parser to analyze the source code.
そのコンパイラはソースコードを分析するパーサーを含んでいる。
A JSON parser is used to read configuration files.
JSONパーサーは設定ファイルを読むために使われる。
parser の類義語・関連語
紛らわしい語
parser の語源・成り立ち Etymology
parser は parse+ -er で、「解析するもの」。parse はラテン語 pars orationis「品詞」が縮まった語で、根の pars は「部分」を表すため、文を部分に切り分ける発想がそのまま残る。関連語は part、particle。
Parser is formed from parse plus the agent ending -er, so it means "something that parses." Parse comes from Latin pars orationis, meaning "part of speech," and pars means "part." The word first referred to breaking a sentence into its grammatical parts, and later was extended to language processing in computing. Related English words include part and particle.
外部辞書で調べる
この単語を英単語クイズで覚えよう