-NanoTimer = require('nanotimer')
+microtime = require('microtime')
 async = require('async')
 
-Wordnet = require('../lib/wordnet')
+Wordnet = require('../src/wordnet')
 wordnet = new Wordnet()
 
 testText = """

  async.each [1..1000], itemFn, () ->
    callback()

console.log "Starting run"
timer.time testFunction, [tokens], 'u', (time) ->
  console.log("It took " + time + " microseconds to process #{tokens.length} tokens #{count} times")

while match = matcher.exec(string)
  tokens.push match[0]

testTokens = (tokens, callback) ->
  lookup = (token, done) ->
    wordnet.lookup token, (result) -> done()
  async.each tokens, lookup, callback

testFunction = (tokens, callback) ->
