7 lines
155 B
JavaScript
7 lines
155 B
JavaScript
|
|
||
|
module.exports = function(det, rec, confidence, name, lang) {
|
||
|
this.confidence = confidence;
|
||
|
this.name = name || rec.name(det);
|
||
|
this.lang = lang;
|
||
|
};
|