Skip to content

Commit

Permalink
Fallback mode. Explicit specification not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
nehaljwani committed May 5, 2016
1 parent c965522 commit f2950a1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chunker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = function (kathaa_inputs, progress, done){
hindi_urdu_request.post({
headers: {'content-type' : 'application/x-www-form-urlencoded;charset=UTF-8'},
url: 'http://api.ilmt.iiit.ac.in/hin/urd/7/7',
body: "pickonemorph="+encodeURI(kathaa_inputs['in_ssf'])
body: "input="+encodeURI(kathaa_inputs['in_ssf'])
}, function(error, response, body){
if (!error && response.statusCode == 200) {
try{
Expand Down
2 changes: 1 addition & 1 deletion multiwordexpr/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = function (kathaa_inputs, progress, done){
hindi_urdu_request.post({
headers: {'content-type' : 'application/x-www-form-urlencoded;charset=UTF-8'},
url: 'http://api.ilmt.iiit.ac.in/hin/urd/8/8',
body: "pickonemorph="+encodeURI(kathaa_inputs['in_ssf'])
body: "input="+encodeURI(kathaa_inputs['in_ssf'])
}, function(error, response, body){
if (!error && response.statusCode == 200) {
try{
Expand Down
2 changes: 1 addition & 1 deletion ner/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = function (kathaa_inputs, progress, done){
hindi_urdu_request.post({
headers: {'content-type' : 'application/x-www-form-urlencoded;charset=UTF-8'},
url: 'http://api.ilmt.iiit.ac.in/hin/urd/9/9',
body: "utf2wx="+encodeURI(kathaa_inputs['in_ssf'])
body: "input="+encodeURI(kathaa_inputs['in_ssf'])
}, function(error, response, body){
if (!error && response.statusCode == 200) {
try{
Expand Down

0 comments on commit f2950a1

Please sign in to comment.