From 535d1b9e328890a959c92e622d4bce6ec96e66d3 Mon Sep 17 00:00:00 2001 From: rjawor Date: Tue, 21 Feb 2017 12:55:08 +0100 Subject: [PATCH] concordia search php --- cat/concordia_search.php_pattern | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cat/concordia_search.php_pattern b/cat/concordia_search.php_pattern index b4a5eb7..c1d987c 100644 --- a/cat/concordia_search.php_pattern +++ b/cat/concordia_search.php_pattern @@ -1,7 +1,8 @@ "concordiaSearch","tmId" => intval($_GET["tmId"]),"pattern" => $_GET["pattern"]); +$inputSentence = $_GET["pattern"]; +$data = array("operation" => "concordiaSearch","tmId" => intval($_GET["tmId"]),"pattern" => $inputSentence); // use key 'http' even if you send the request to https://... $options = array( @@ -33,7 +34,6 @@ $data = json_decode($response);
Concordia score: result->bestOverlayScore*100) ?>%
-
+