diff options
Diffstat (limited to 'scripts/ems/web/index.php')
-rw-r--r-- | scripts/ems/web/index.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/ems/web/index.php b/scripts/ems/web/index.php index 466af9013..099c9078f 100644 --- a/scripts/ems/web/index.php +++ b/scripts/ems/web/index.php @@ -5,10 +5,12 @@ require("overview.php"); require("analysis.php"); require("analysis_diff.php"); require("diff.php"); +require("sgviz.php"); function head($title) { print '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html><head><title>'.$title.'</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script language="javascript" src="/javascripts/prototype.js"></script> <script language="javascript" src="/javascripts/scriptaculous.js"></script> <script language="javascript" src="hierarchical-segmentation.js"></script> @@ -43,8 +45,11 @@ if (array_key_exists("setup",$_POST) || array_key_exists("setup",$_GET)) { else if (preg_match("/PrecisionByWordDiff(.+)_show/",$action,$match)) { precision_by_word_diff($match[1]); } else if (preg_match("/PrecisionByWord(.+)_show/",$action,$match)) { precision_by_word($match[1]); } else if ($action == "CoverageDetails_show") { coverage_details(); } + else if ($action == "CoverageMatrixDetails_show") { precision_by_coverage_diff_matrix_details(); } else if ($action == "SegmentationSummary_show") { segmentation_summary(); } else if ($action == "biconcor") { biconcor(base64_decode($_GET["phrase"])); } + else if ($action == "sgviz") { sgviz($_GET["sentence"]); } + else if ($action == "sgviz_data") { sgviz_data($_GET["sentence"]); } else { print "ERROR! $action"; } } else if (array_key_exists("analysis_diff_home",$_GET)) { |