Python syntax here : 2.7 - online REPL
Javascript ES6 via Babel transpilation - online REPL
import math
var express = require('express') | |
, mongoskin = require('mongoskin') | |
var app = express() | |
app.use(express.bodyParser()) | |
var db = mongoskin.db('localhost:27017/test', {safe:true}); | |
app.param('collectionName', function(req, res, next, collectionName){ | |
req.collection = db.collection(collectionName) |
""" | |
NATURAL LANGUAGE PROCESSING | |
using the nltk library, i am going to read a pdf file and then remove all the | |
stop words from the pdf file and then save the rest of the document in a file. | |
""" | |
from nltk import wordpunct_tokenize | |
from nltk.corpus import stopwords | |
from concurrent import futures |
Python syntax here : 2.7 - online REPL
Javascript ES6 via Babel transpilation - online REPL
import math