comparison develop/models/_extractapp_func.php @ 12:e82ca7375e93

Integration with LocalGazetteerService (LGService), getting text from LGService and saving text to LGService. Adjust the control flow (controller).
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Mon, 16 Feb 2015 16:51:39 +0100
parents 54a235d43694
children cc36a20a68ab
comparison
equal deleted inserted replaced
11:3d6fba07bfbd 12:e82ca7375e93
8 SmartRegexLoad(); 8 SmartRegexLoad();
9 break; 9 break;
10 case 'SmartRegexSave': 10 case 'SmartRegexSave':
11 SmartRegexSave(); 11 SmartRegexSave();
12 break; 12 break;
13
14 case 'SaveTextToLGService':
15 SaveTextToLGService();
16 break;
13 17
14 default: 18 default:
15 SmartRegexLoad(); 19 SmartRegexLoad();
16 break; 20 break;
17 } 21 }
22
23
18 24
19 25
20 function SmartRegexLoad() { 26 function SmartRegexLoad() {
21 global $data_path; 27 global $data_path;
22 $returnArray = array(); 28 $returnArray = array();