diff --git a/simple-search/v1.0/getword_list_1.0.php b/simple-search/v1.0/getword_list_1.0.php
index 88115dc..9374467 100644
--- a/simple-search/v1.0/getword_list_1.0.php
+++ b/simple-search/v1.0/getword_list_1.0.php
@@ -1,16 +1,7 @@
.xml
- Enhancement: retrieve multiple headwords
- Enhancement: retrieve based on normalized spelling
- 06-02-2017. In this version, the variants are generated by php, rather
- than being pregenerated by javascript
- 06-05-2017. Compute variants with SLP
+ getword_list_1.0.php Begun 06-01-2017.
+ Used by Javascript 'simpleFunction' in list-0.2s_rw.php.
*/
require_once('getword_list_1.0_main.php');
$ans = getword_list_processone(); // Gets arguments from $_REQUEST
diff --git a/simple-search/v1.0/getword_list_1.0_main.php b/simple-search/v1.0/getword_list_1.0_main.php
index b0acaeb..e25f8e4 100644
--- a/simple-search/v1.0/getword_list_1.0_main.php
+++ b/simple-search/v1.0/getword_list_1.0_main.php
@@ -37,16 +37,17 @@ function getword_list_processone() {
$dal = new Dal($dict);
// WARNING: the relative path to sanhw1 is sensitive to location of
// this file.
-#$dalnorm = new Dalnorm('hwnorm1c','../../../sanhw1');
$dalnorm = new Dalnorm('hwnorm1c','../hwnorm1');
// Ordering of results depends on a word frequency file.
$wfreqs = init_word_frequency();
// keyparmin is the key input. It is what the user requested.
+// Assumed to be in utf-8 encoding
$keyparmin = $getParms->keyin; // original
dbgprint($dbg,"keyparmin=$keyparmin\n");
-
-//keyparmin is original.
+// php function. Convert back to utf-8
+// This is done already in javascript list-0.2s_(xampp)_rw.php
+//$keyparmin1 = urldecode($keyparmin);
$ssobj = new Simple_Search($keyparmin,$dict);
$keysin = $ssobj->normkeys; // normalized slp1 spelling
// 11-01-2017. user keyin, slp1, norm. So we can identify
diff --git a/simple-search/v1.0/list-0.2s_rw.php b/simple-search/v1.0/list-0.2s_rw.php
index 8ddb932..f63f447 100644
--- a/simple-search/v1.0/list-0.2s_rw.php
+++ b/simple-search/v1.0/list-0.2s_rw.php
@@ -1,11 +1,7 @@
$val
\n");
}
@@ -60,7 +61,6 @@
Your browser does not support iframes.