カスタム エンティティ用のデータの準備

カスタム エンティティを作成するための最初のステップは、入力ファイルとテスト ファイルを準備することです。カスタム エンティティ機能を利用するには、これらのファイル内のエンティティを、トレーニング オプション ファイルで指定した magicWord によって囲む必要があります (これについては次のトピックを参照してください)。

例えば、入力ファイル内の構造化されていないデータから診断結果を抽出する場合を考えます。トレーニング オプション ファイルでは、magicWord DIAGNOSIS を指定したとします。テキスト内に出現するすべての病気や症状の名称に対し、次のようにその語をそのmagicWord で囲む必要があります。

The term diagnostic criteria designates the specific combination of
signs, symptoms, and test results that the clinician uses to attempt
to determine the correct diagnosis. Some examples of diagnostic 
criteria, also known as clinical case definitions, are: Amsterdam 
criteria for DIAGNOSIShereditary nonpolyposis colorectal cancerDIAGNOSIS
McDonald criteria for DIAGNOSISmultiple sclerosisDIAGNOSIS ACR criteria 
for DIAGNOSISsystemic lupus erythematosusDIAGNOSIS Centor criteria for 
DIAGNOSISstrep throatDIAGNOSIS.

magicWord の識別については、次のトピックを参照してください。