Skip to content
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.

Commit

Permalink
⛄ nlp: remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfram77 committed Apr 21, 2018
1 parent 69364b1 commit 92a2eaf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions data/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,6 @@ function columnMatch(db, wrds) {
}
sql = sql.substring(0, sql.length-11);
return db.query(sql, par).then((ans) => {
console.log(par);
console.log(ans.rows);
var col = ALLCOLUMNS.get(natural.PorterStemmer.stem(wrds[0])), ncol = col? 1:0;
if(ans.rowCount>0 && ans.rows[0].i>ncol) return {value: ans.rows[0].code, length: ans.rows[0].i};
return col? {value: col, length: 1}:null;
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ifct2017",
"version": "0.0.740",
"version": "0.0.741",
"description": "Website for Indian Food Composition Tables 2017.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 92a2eaf

Please sign in to comment.