NaturalPath.convert()

Convert Natural Language to file system path

Convert Natural Language to file system path

Usage

Hover over inputs/exits for more info.

var NaturalPath = require('machinepack-naturalpath');


// Convert Natural Language to file system path

NaturalPath.convert({

string: 'Go to Google Drive go into School go into 2015 2016 and find the Cryptography folder',

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// OK.

success: function (result) {

 

},

});

Inputs

string required

The natural language path

'Go to Google Drive go into School go into 2015 2016 and find the Cryptography folder'

Exits

error

An unexpected error occurred.

success

OK.

'/User/Glavin/Google Drive/School/2015-2016/CSCI 4423 - Cryptography'