|
@@ -22,7 +22,7 @@ Import the nlp plugin library to analyze a text into its syntactic parse tree wh
|
|
|
IMPORT nlp from lib_nlp;
|
|
|
|
|
|
text01 := 'The quick brown fox jumped over the lazy boy.';
|
|
|
-parsedtext01 := nlp.AnalyzeText('taiparse',text01);
|
|
|
+parsedtext01 := nlp.AnalyzeText('parse_en-us',text01);
|
|
|
output(parsedtext01);
|
|
|
|
|
|
text02 := 'TAI has bought the American Medical Records Processing for more than $130 million dollars.';
|
|
@@ -30,7 +30,7 @@ parsedtext02 := nlp.AnalyzeText('corporate',text02);
|
|
|
output(parsedtext02);
|
|
|
|
|
|
text03 := 'Right middle lobe consolidation compatible with acute pneumonitis.';
|
|
|
-parsedtext03 := nlp.AnalyzeText('taiparse',text03);
|
|
|
+parsedtext03 := nlp.AnalyzeText('parse_en-us',text03);
|
|
|
output(parsedtext03);
|
|
|
|
|
|
text04 := 'TAI\'s stock is up 4% from $58.33 a share to $60.66.';
|