Code Monkey home page Code Monkey logo

nodehun's People

Contributors

ben-page avatar dependabot[bot] avatar hyspell avatar mikaelurankar avatar nathanjsweet avatar rexxars avatar strepon avatar tbroadley avatar thomas101 avatar trofim24 avatar veer66 avatar wooorm avatar wulf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nodehun's Issues

Question: Could Nodehun performance increase if there was a Readonly Dictionary Option?

I was looking at the Nodehun binding code and noticed that in Nodehun::SpellDictionary::checkSuggestions() it sets a lock on the dictionary - before it looks up the word.

In my case, I'm only using the dictionary as read-only, it never changes. So if the dictionary never changes, technically, we don't need a lock on the dictionary and theoretically improving performance.

What I was thinking was that I could provide an option to make the dictionary read-only when you create the dictionary object and then you can just put an if-statement around the locks.

Thoughts?

Jason

Can this be used to differentiate nouns, adjectives, adverbs, etc.?

I'm looking for a way to check if a word is a noun, adjective, verb, adverb or conjunction.

I've tried looking through the hunspell documentation for analyze but I don't think I can use the information from that to differentiate between word types.

Do you know if this is at all possible with nodehun?

Low response rate

Amazing job on the spellcheck, however, through extensive testing, I noticed that on average it handles around 20 requests per 5-8 seconds, which is not a high number if using in production environment.
Could you please suggest ways to improve the speed? I've tried filecache as well and it didn't help me much, thank you and sorry if this is not the appropriate place to ask this, but I need to know :)

Accessing variables within dict.spellSuggest() method.

Hello,
How would you access the ''suggestion'' returned by the method? The result is indeed well printed in the console when calling the console.log(), as shown on the ReadMe file.
By calling it outside the method (as shown commented below), it says suggestion is not defined. I guess the problem with what i'm doing is related to the scope of the variable, which I understand.

However, i can't seem to be able to get the values returned by the method. I've trie returning the values inside, with no success.

dict.spellSuggest(word, function(err, correct, suggestion, origWord){
console.log(suggestion);
});
//console.log(suggestion) -> error, variable not defined.

what i wish to do is have this function checkWord() returning the values err, correct, suggestion, origWord.

exports.checkWord(word){
dict.spellSuggest(word, function(err, correct, suggestion, origWord){
return suggestion;
});
}

I'm sorry, i understand the matters covered on the issues here are far more complex and that this might be a rookie mistake, I'm new to javaScript and specially to ''callback's''.

Thank you in advance.

npm install failed on windows 7

Hi ! Thanks for maintaining this project, but I got a little error when doing npm install.

245 error Windows_NT 6.1.7601
246 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "nodehun" "--save"
247 error node v0.12.7
248 error npm v2.11.3
249 error code ELIFECYCLE
250 error [email protected] install: node-gyp rebuild
250 error Exit status 1
251 error Failed at the [email protected] install script 'node-gyp rebuild'.
251 error This is most likely a problem with the nodehun package,
251 error not with npm itself.
251 error Tell the author that this fails on your system:
251 error node-gyp rebuild
251 error You can get their info via:
251 error npm owner ls nodehun
251 error There is likely additional logging output above.
252 verbose exit [ 1, true ]
253 verbose unbuild node_modules\nodehun
254 info preuninstall [email protected]
255 info uninstall [email protected]
256 verbose unbuild rmStuff [email protected] from C:\Users\alice\Downloads\test\node_modules
257 info postuninstall [email protected]
258 silly gentlyRm C:\Users\alice\Downloads\test\node_modules\nodehun is being purged from base C:\Users\alice\Downloads\test
259 verbose gentlyRm don't care about contents; nuking C:\Users\alice\Downloads\test\node_modules\nodehun
260 silly vacuum-fs purging C:\Users\alice\Downloads\test\node_modules\nodehun
261 silly vacuum-fs removing C:\Users\alice\Downloads\test\node_modules
262 silly vacuum-fs finished vacuuming up to C:\Users\alice\Downloads\test

Can't install nodehun with node 12.2.0

gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:196:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:257:12)
gyp ERR! System Darwin 18.5.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/milo/GitHub/GaneschaLabs/Ganescha-Spellcheck/node_modules/nodehun
gyp ERR! node -v v12.2.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 
npm WARN [email protected] requires a peer of grunt@~0.4.5 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] license should be a valid SPDX license expression

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/milo/.npm/_logs/2019-05-17T08_36_42_754Z-debug.log

Compilation errors on Travis (Linux)

Hey @nathanjsweet,

First off: great project, thanks a lot!
Second: I just created a lot of easily insoluble dictionaries, maybe useful for the other nodehun users (or the README?)

And third, I’m getting compilation errors on Travis when building on Node 0.10, 0.11, 0.12, iojs, and 4.0. They seems to be related to nodehun rather than my module. Here are the logs: https://travis-ci.org/wooorm/retext-spell/builds/81763026. Also interesting: there’s a difference between the old node versions (e.g., 0.12) and new versions (e.g., 4.0).

I’m hopeful that you can shed some light on these errors! Thanks!

Cache suggestions

Use an LRU cache to save results for suggest and suggestSync. Enable this via an API like

var nodehun = new Nodehun(aff, dic, { cache: 100 })

nodehun.suggest('Wintre') // now 'wintre' results are cached

// ... some time later...

nodehun.suggest('wintre') // this is fetched from the cache

Seems like Generate isn't working?

So... I just tried generate with dictionaries downloaded with hunspell-dict-downloader. I'm not sure if I'm the idiot here, or if generate is just not working... As in not working, I mean the response is always an empty array
Here's what I did (it was doing a very initial test, so forgive the sync stuff):

var nodehun = require('nodehun')
var fs = require('fs')
var affbuf = fs.readFileSync("dictionary_path.aff")
var dictbuf = fs.readFileSync("dictionary_path.dic")
dict = new nodehun(affbuf,dictbuf)
dict.generate('tell', 'ran', (err, res)=>console.log(res))
dict.generate('telling', 'ran', (err, res)=>console.log(res))

on the same note, I tried using analyse on some words, and it gave a rather funky response as well... Since I'm not sure if they are related or not, i'll post one here:
PS: err was null in all of them here. I'm omitting it from the results to make it more readable
dict.analyze('telling',(err, fields) => console.log(fields)) // [" st:telling", " st:tell fl:G"]

as you can see, I think the result is not wrong per se. It seems to be giving me the original dictionary word and the affix rule that defines the flection, but it's a little different from was in the docs, here:

dict.analyze('telling',function(err, fields) => console.log(fields)) 
// [ ' st:telling ts:0', ' st:tell ts:0 al:told is:Vg' ]

(not that I really have any idea what this means, anyway.)

I took some time to check, and the files you suggest from the libre office are the same being served by hunspell-dict-downloader. Is this a peculiarity to the en_US, perhaps?
anyways, thanks a lot again!

Spell sugestions for emojis

If I use the function spellSuggestionsSync with an emoji the whole server breaks down with Exited from signal: SIGSEGV

Two dictionaries - Segmentation fault: 11

nodehun version - 1.0.2
node version - v0.10.36
OS X

var fs = require('fs');
var nodehun = require('nodehun');

var dict = new nodehun(fs.readFileSync('dictionaries/en_GB.aff'), fs.readFileSync('dictionaries/en_GB.dic'));
dict.addDictionary(fs.readFileSync('dictionaries/en_US.dic'));

Memory Releasing issue

For Someone named Matt:

Hi, Nathan,

I'm working on a node.js-based spell-checking service and was delighted to stumble upon [1]. Thanks for creating/maintaining this hunspell binding.

I'm running into an issue, on my Mac (OSX Yosemite) where the node.js process crashes with 'Segmentation fault: 11' randomly after as few as 11 HTTP requests and up to ~100 HTTP requests.

If I cache a single nodehun instance and reuse that, I can run my test suite (contains ~5500 inputs) repeatedly.

Alas, the requirement of the service is that it can accept requests for various combinations of dictionaries and word lists, so I'll likely need to create a custom instance for many requests (I can probably employ some caching).

My pattern for instantiating nodehun which produces the results above was that shown in examples/a_init.js (new nodehun(aff, dict)).

I modified the code to use the pattern in g_asyncinvoke.js, and that's producing the following:

node(10787,0x103c8d000) malloc: *** error for object 0x104039008: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug

In an attempt to simplify / make the problem more easy to repo, I've attached a modified version of the g_asyncinvoke.js example. It looks like the issue (hopefully equivalent to what I'm seeing in my service) can be reproduced after ~35 iterations.

FWIW, I'm using 64-bit node v0.10.33.

Please let me know if I can provide additional info. I can also take this to [2] if you prefer.

Regards,
Matt

Relevant file: https://docs.google.com/document/d/1qamzmStKEogJI3ybaJKNgT8xLiSCc2JdWAnJ-3CFk-c/edit?usp=sharing

I unable to install nodehun module, thorw below error how can i solve this one Cannot find module 'block-stream installed block-stream also

$ npm install nodehun

[email protected] install D:\projects\electron-quick-start-master\electron-quick-start-master\node_modules\nodehun
node-gyp rebuild

D:\projects\electron-quick-start-master\electron-quick-start-master\node_modules\nodehun>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
gyp ERR! UNCAUGHT EXCEPTION
gyp ERR! stack Error: Cannot find module 'block-stream'
gyp ERR! stack at Function.Module._resolveFilename (module.js:469:15)
gyp ERR! stack at Function.Module._load (module.js:417:25)
gyp ERR! stack at Module.require (module.js:497:17)
gyp ERR! stack at require (internal/module.js:20:19)
gyp ERR! stack at Object. (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\node_modules\tar\lib\entry-writer.js:7:19)
gyp ERR! stack at Module._compile (module.js:570:32)
gyp ERR! stack at Object.Module._extensions..js (module.js:579:10)
gyp ERR! stack at Module.load (module.js:487:32)
gyp ERR! stack at tryModuleLoad (module.js:446:12)
gyp ERR! stack at Function.Module._load (module.js:438:3)
gyp ERR! System Windows_NT 6.2.9200
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd D:\projects\electron-quick-start-master\electron-quick-start-master\node_modules\nodehun
gyp ERR! node -v v6.9.1
gyp ERR! node-gyp -v v3.4.0
gyp ERR! This is a bug in node-gyp.
gyp ERR! Try to update node-gyp and file an Issue if it does not help:
gyp ERR! https://github.com/nodejs/node-gyp/issues
[email protected] D:\projects\electron-quick-start-master\electron-quick-start-master
`-- (empty)

npm ERR! Windows_NT 6.2.9200
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "nodehun"
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 7
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the nodehun package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs nodehun
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls nodehun
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! D:\projects\electron-quick-start-master\electron-quick-start-master\npm-debug.log
npm ERR! code 1

import _multiprocessing > ImportError: DLL load failed: %1

This is a very meaningful project, but I got error when npm install.

$ npm install nodehun -save

[email protected] install C:\Users\yam\Desktop\leonardo_parla\node_modules\nodehun
node-gyp rebuild

C:\Users\yam\Desktop\leonardo_parla\node_modules\nodehun>if not defined npm_config_node_gyp (node "C:\Users\yam\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
Traceback (most recent call last):
File "C:\Users\yam\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py", line 13, in
import gyp
File "C:\Users\yam\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp__init__.py", line 8, in
import gyp.input
File "C:\Users\yam\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\input.py", line 15, in
import multiprocessing
File "D:\Python27\lib\multiprocessing__init__.py", line 84, in
import _multiprocessing
ImportError: DLL load failed: %1 ▒▒▒▒▒▒Ч▒▒ Win32 Ӧ▒ó▒▒▒
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (C:\Users\yam\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\configure.js:305:16)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "D:\Program Files\nodejs\node.exe" "C:\Users\yam\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\yam\Desktop\leonardo_parla\node_modules\nodehun
gyp ERR! node -v v6.8.1
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "D:\Program Files\nodejs\node.exe" "C:\Users\yam\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" "nodehun" "-save"
npm ERR! node v6.8.1
npm ERR! npm v3.10.8
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the nodehun package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs nodehun
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls nodehun
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\yam\Desktop\leonardo_parla\npm-debug.log

Separate hunspell fork into another github project

My hunspell fork allows hunspell to get away from caring about files and just accept buffers as arguments. A pretty powerful abstraction, I've tried patching to the main project, but my project is also a good deal more lightweight and eliminates a lot of the utilities that come with hunspell. A separate project is in order. This will make it easier for other people to wrap the project for other languages.

Add Tests

@wooorm has some tests which could be portable, written with tape.

Edit package.json and make sure the property scripts.test is set properly.

is nodehun correctly releasing memory/beeing destroyed?

Hey Nathan
First off, thank you for creating this lib, awesome!

I am not sure from where I am getting the errors, but maybe you can at least give me the confidence, that it isn't nodehun :)

I am writing tests for a wrapper of your library and thus, am creating many instances via createNewNodehun and load a 20MB dictionary. I see a spike in memory consumption during the tests and they seem only to be released when I get an extreme c++ error
*** Error in `grunt': free(): invalid next size (fast): 0x0000000001ff3ea0 ***
Aborted (core dumped)

or, the tests run successfully and node exits (I don't have a lot of free memory)

So I wanted to know if you ever experiences something like this and if nodehun is made to create multiple instances of. Also, is there some kind of 'destory' method I could call?

Thank you and again, thank you for your great work!

Jeremy

Two dictionaries - suggestion is the same as original word

nodehun version - 1.0.2

var fs = require('fs');
var nodehun = require('nodehun');

var dict = new nodehun(fs.readFileSync('dictionaries/en_US.aff'), fs.readFileSync('dictionaries/en_US.dic'));
dict.addDictionary(fs.readFileSync('dictionaries/en_GB.dic'));

dict.spellSuggest('unformatted', function(err, correct, suggestion, origWord) {
  console.assert(correct === false);
  console.assert(suggestion === origWord);
});

Prepare for hunspell 1.7

Hunspell 1.7 is almost ready. This main version comes with a lot of changes and improvements. Do you have a timeline when it will be available in nodehun?
Thank you!

intermittent errors when loading multiple dictionaries

I'm noticing some intermittent errors when initializing multiple dictionaries:
terminated by signal SIGSEGV (Address boundary error).

Maybe I'm doing something weird in the way I am using the library. I made an example in my fork, in the "initErrors" branch. You can check it out here:

[email protected]:ryanwilliamquinn/nodehun.git

then go to the examples folder and run:
node shortDictionaryList.js (this one works for me, initializes 4 or 5 dictionaries)
node longDictionaryList.js (this one fails for me: 'node longDictionaryList.js ' terminated by signal SIGSEGV (Address boundary error)

Async behaviour

Hello, and thank you for this awesome library.

I have a small issue with isCorrect behaviour

small example:

const textArray =  [some wrong words array];
    let errorsArray = [];
    forEach ( textArray, word => {
        dict.isCorrect ( word, ( err, correct ) => {
            if ( !correct ' ) {
                    errorsArray.push ( word )
                    console.log("temp result",errorsArray);
                }
            }
        } );
    } );
console.log("final result",errorsArray)

as output i always get an final result and empty array at first, and "temp result" and array with wrong words after it.

my question how i can be sure, that final result will be fired only after checking of all my words?

Remove warning message when building

../src/nodehun.cpp:5:2: warning: #warning "Nodehun is no longer being actively maintained. Please email [email protected] If you are interested in taking over the project." [-Wcpp]

When building nodehun, the message above is shown.

First argument in callbacks should be inverted?

Generally, callbacks in node reserve the first argument as an "error" check:

fs.writeFile('message.txt', 'Hello Node', function (err) {
  if (err) throw err;
  console.log('Saved!');
});

While in nodehun, the roles seems to be inverted, where the first argument represents a success:

dict.addWord('colour',function(a,b){
    console.log(a,b);
    // if the method succeeded then
    // the output will be: true, 'colour'
});

Changing this would be a pretty big backwards-incompatible change, but in my opinion it would make a lot of sense to keep it as close to the "de-facto" node style as possible.

This basically applies to all methods, not just addWord, obviously.

Thoughts?

Java Fatal Error: SIGSEGV

I get sometimes a fatal error when running nodehun module:

## A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000010698bef3, pid=33986, tid=0x0000000000000307
#
# JRE version: Java(TM) SE Runtime Environment (8.0_121-b13) (build 1.8.0_121-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.121-b13 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# 
C  [nodehun.node+0x8ef3]  _ZN8AffixMgrD2Ev+0x6d#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#

Following the full JVM stacktrace:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000010698bef3, pid=33986, tid=0x0000000000000307
#
# JRE version: Java(TM) SE Runtime Environment (8.0_121-b13) (build 1.8.0_121-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.121-b13 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C  [nodehun.node+0x8ef3]  _ZN8AffixMgrD2Ev+0x6d
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x0000000104800000):  JavaThread "main" [_thread_in_native, id=775, stack(0x00007fff5f400000,0x00007fff5fc00000)]

siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000004a01010458

Registers:
RAX=0x0000000000000307, RBX=0x0000004a01010400, RCX=0x0000000000000000, RDX=0x00000000031b7940
RSP=0x00007fff5fbfe620, RBP=0x00007fff5fbfe650, RSI=0x0000000135f00000, RDI=0x000000000005b550
R8 =0x0000000000000000, R9 =0x0000000135f65b20, R10=0x0000000000000001, R11=0x0000000000000001
R12=0x0000004a01010400, R13=0x0000000000000000, R14=0x000000012a3fe200, R15=0x0000000000000064
RIP=0x000000010698bef3, EFLAGS=0x0000000000010206, ERR=0x0000000000000004
  TRAPNO=0x000000000000000e

Top of Stack: (sp=0x00007fff5fbfe620)
0x00007fff5fbfe620:   0000000000000307 000000012a3fe200
0x00007fff5fbfe630:   0000000000000000 0000000000000000
0x00007fff5fbfe640:   0000000155d2bd90 00000001029009f0
0x00007fff5fbfe650:   00007fff5fbfe680 000000010699a11f
0x00007fff5fbfe660:   00000001069c96d0 0000000155d2ddc0
0x00007fff5fbfe670:   0000000155d2bd90 00000001029009f0
0x00007fff5fbfe680:   00007fff5fbfe6a0 0000000106988a1d
0x00007fff5fbfe690:   0000000155d2ddc0 00000001033418a0
0x00007fff5fbfe6a0:   00007fff5fbfe6c0 000000010698880c
0x00007fff5fbfe6b0:   00000001069c96d0 0000000000000004
0x00007fff5fbfe6c0:   00007fff5fbfe770 00000001004abe53
0x00007fff5fbfe6d0:   0000000000000000 0000000102900a80
0x00007fff5fbfe6e0:   00000001029009f0 0000000103034c00
0x00007fff5fbfe6f0:   0000000000000000 000000010052981f
0x00007fff5fbfe700:   0000000101267dc8 0000000000000004
0x00007fff5fbfe710:   00007fff5fbfe760 00000001004bc819
0x00007fff5fbfe720:   0000000103000000 0000000155d2ddc0
0x00007fff5fbfe730:   00000001033418a8 0000000000000000
0x00007fff5fbfe740:   0000000000000000 0000000000000322
0x00007fff5fbfe750:   00000001029009f0 000000002b58a110
0x00007fff5fbfe760:   0000000000000001 0000000103000020
0x00007fff5fbfe770:   00007fff5fbfe7b0 00000001004ac181
0x00007fff5fbfe780:   0000032203000000 0000000103005c00
0x00007fff5fbfe790:   0000000000000001 000000002b58a110
0x00007fff5fbfe7a0:   000000010127f118 0000000103000020
0x00007fff5fbfe7b0:   00007fff5fbfe8e0 00000001004ba05a
0x00007fff5fbfe7c0:   0000000101d28a00 0000000000000080
0x00007fff5fbfe7d0:   0000000000000001 0000000000000008
0x00007fff5fbfe7e0:   0000000045c04491 0000000102003250
0x00007fff5fbfe7f0:   00000001020051f0 0000000103000000
0x00007fff5fbfe800:   00007fff00000001 0000000200000000
0x00007fff5fbfe810:   404cd8c894c23d09 000010fb00000001 

Instructions: (pc=0x000000010698bef3)
0x000000010698bed3:   fc 00 01 00 00 75 c3 4b c7 84 fe 00 18 00 00 00
0x000000010698bee3:   00 00 00 4b 8b 9c fe 00 08 00 00 48 85 db 74 1c
0x000000010698bef3:   4c 8b 63 58 48 89 df e8 5f db ff ff 48 89 df e8
0x000000010698bf03:   bf ad 01 00 4d 85 e4 4c 89 e3 75 e4 4b c7 84 fe 

Register to memory mapping:

RAX=0x0000000000000307 is an unknown value
RBX=0x0000004a01010400 is an unknown value
RCX=0x0000000000000000 is an unknown value
RDX=0x00000000031b7940 is an unknown value
RSP=0x00007fff5fbfe620 is pointing into the stack for thread: 0x0000000104800000
RBP=0x00007fff5fbfe650 is pointing into the stack for thread: 0x0000000104800000
RSI=0x0000000135f00000 is an unknown value
RDI=0x000000000005b550 is an unknown value
R8 =0x0000000000000000 is an unknown value
R9 =0x0000000135f65b20 is an unknown value
R10=0x0000000000000001 is an unknown value
R11=0x0000000000000001 is an unknown value
R12=0x0000004a01010400 is an unknown value
R13=0x0000000000000000 is an unknown value
R14=0x000000012a3fe200 is an unknown value
R15=0x0000000000000064 is an unknown value


Stack: [0x00007fff5f400000,0x00007fff5fc00000],  sp=0x00007fff5fbfe620,  free space=8185k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [nodehun.node+0x8ef3]  _ZN8AffixMgrD2Ev+0x6d
C  [nodehun.node+0x1711f]  _ZN8HunspellD2Ev+0x39
C  [nodehun.node+0x5a1d]  _ZN7Nodehun15SpellDictionaryD2Ev+0x29
C  [nodehun.node+0x580c]  _ZN7Nodehun15SpellDictionaryD0Ev+0xe
C  [node+0x4abe53]  _ZN2v88internal13GlobalHandles31DispatchPendingPhantomCallbacksEb+0xa3
C  [node+0x4ac181]  _ZN2v88internal13GlobalHandles31PostGarbageCollectionProcessingENS0_16GarbageCollectorENS_15GCCallbackFlagsE+0x31
C  [node+0x4ba05a]  _ZN2v88internal4Heap24PerformGarbageCollectionENS0_16GarbageCollectorENS_15GCCallbackFlagsE+0x7ba
C  [node+0x4b93ad]  _ZN2v88internal4Heap14CollectGarbageENS0_16GarbageCollectorEPKcS4_NS_15GCCallbackFlagsE+0x2bd
C  [node+0x4b8451]  _ZN2v88internal4Heap15HandleGCRequestEv+0xf1
C  [node+0x472298]  _ZN2v88internal10StackGuard16HandleInterruptsEv+0x68
C  [node+0x70a396]  _ZN2v88internal18Runtime_StackGuardEiPPNS0_6ObjectEPNS0_7IsolateE+0x146
C  0x00001b13873092a7
C  0x00001b138a1630cc
C  0x00001b1387309895
C  0x00001b13891714ab
C  0x00001b138921908a
C  0x00001b1389324a6b
C  0x00001b1389218c79
C  0x00001b1389350ae0
C  0x00001b13893eebc3
C  0x00001b13885602eb
C  0x00001b1387309895
C  0x00001b13891247ee
C  0x00001b1387309895
C  0x00001b13893ede3e
C  0x00001b1387309895
C  0x00001b138926fc1f
C  0x00001b13891248ca
C  0x00001b1387309895
C  0x00001b1388560146
C  0x00001b138926f755
C  0x00001b138926f42b
C  0x00001b138926ed53
C  0x00001b138733b7c3
C  0x00001b138732508f
C  [node+0x4716da]  _ZN2v88internal12_GLOBAL__N_16InvokeEPNS0_7IsolateEbNS0_6HandleINS0_6ObjectEEES6_iPS6_S6_+0x19a
C  [node+0x471513]  _ZN2v88internal9Execution4CallEPNS0_7IsolateENS0_6HandleINS0_6ObjectEEES6_iPS6_+0x153
C  [node+0x160689]  _ZN2v88Function4CallENS_5LocalINS_7ContextEEENS1_INS_5ValueEEEiPS5_+0x1d9
C  [node+0x8bc794]  _ZN4node9AsyncWrap12MakeCallbackEN2v85LocalINS1_8FunctionEEEiPNS2_INS1_5ValueEEE+0x25e
C  [node+0x903587]  _ZN4node9TimerWrap9OnTimeoutEP10uv_timer_s+0x7f
C  [node+0xa64252]  uv__run_timers+0x26
C  [node+0xa5986a]  uv_run+0x244
C  [node+0x8d09c5]  _ZN4node5StartEiPPc+0x294
C  [node+0x1734]  start+0x34
C  0x0000000000000002


---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x00000001050cb800 JavaThread "Thread-5" [_thread_in_native, id=8451, stack(0x0000700010b28000,0x0000700011328000)]
  0x0000000106457800 JavaThread "Thread-4" [_thread_in_native, id=8707, stack(0x000070001132b000,0x0000700011b2b000)]
  0x0000000105123000 JavaThread "Thread-3" [_thread_in_native, id=7939, stack(0x000070000fb22000,0x0000700010322000)]
  0x0000000128046800 JavaThread "Thread-2" [_thread_in_native, id=8195, stack(0x0000700010325000,0x0000700010b25000)]
  0x00000001021be800 JavaThread "Timer-0" daemon [_thread_blocked, id=25091, stack(0x0000700012eed000,0x0000700012fed000)]
  0x00000001048af000 JavaThread "Service Thread" daemon [_thread_blocked, id=24067, stack(0x0000700012ce7000,0x0000700012de7000)]
  0x0000000105801800 JavaThread "C1 CompilerThread3" daemon [_thread_blocked, id=23555, stack(0x0000700012be4000,0x0000700012ce4000)]
  0x000000010203f000 JavaThread "C2 CompilerThread2" daemon [_thread_blocked, id=23043, stack(0x0000700012ae1000,0x0000700012be1000)]
  0x0000000102018000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=22531, stack(0x00007000129de000,0x0000700012ade000)]
  0x0000000106079800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=22019, stack(0x00007000128db000,0x00007000129db000)]
  0x00000001048b1800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=21507, stack(0x00007000127d8000,0x00007000128d8000)]
  0x000000010202c000 JavaThread "Finalizer" daemon [_thread_blocked, id=15875, stack(0x000070001254c000,0x000070001264c000)]
  0x0000000105801000 JavaThread "Reference Handler" daemon [_thread_blocked, id=15363, stack(0x0000700012449000,0x0000700012549000)]
=>0x0000000104800000 JavaThread "main" [_thread_in_native, id=775, stack(0x00007fff5f400000,0x00007fff5fc00000)]

Other Threads:
  0x0000000104835000 VMThread [stack: 0x0000700012346000,0x0000700012446000] [id=14851]
  0x0000000103052000 WatcherThread [stack: 0x0000700012dea000,0x0000700012eea000] [id=24579]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap:
 PSYoungGen      total 1389568K, used 1305837K [0x000000076ab00000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 1381376K, 94% used [0x000000076ab00000,0x00000007b9f2b690,0x00000007bf000000)
  from space 8192K, 88% used [0x00000007bf000000,0x00000007bf710000,0x00000007bf800000)
  to   space 8192K, 0% used [0x00000007bf800000,0x00000007bf800000,0x00000007c0000000)
 ParOldGen       total 878592K, used 611653K [0x00000006c0000000, 0x00000006f5a00000, 0x000000076ab00000)
  object space 878592K, 69% used [0x00000006c0000000,0x00000006e5551768,0x00000006f5a00000)
 Metaspace       used 19982K, capacity 20434K, committed 20608K, reserved 1067008K
  class space    used 2221K, capacity 2341K, committed 2432K, reserved 1048576K

Card table byte_map: [0x0000000118613000,0x0000000118e14000] byte_map_base: 0x0000000115013000

Marking Bits: (ParMarkBitMap*) 0x000000010856ed30
 Begin Bits: [0x000000011936a000, 0x000000011d36a000)
 End Bits:   [0x000000011d36a000, 0x000000012136a000)

Polling page: 0x0000000101df4000

CodeCache: size=245760Kb used=13202Kb max_used=14597Kb free=232557Kb
 bounds [0x0000000109253000, 0x000000010a0f3000, 0x0000000118253000]
 total_blobs=3600 nmethods=3199 adapters=314
 compilation: enabled

Compilation events (10 events):
Event: 226,927 Thread 0x0000000105801800 4644       3       edu.stanford.nlp.util.HasInterval::lambda$static$2 (16 bytes)
Event: 226,927 Thread 0x0000000105801800 nmethod 4644 0x000000010961fd90 code [0x000000010961ff20, 0x00000001096202a8]
Event: 230,825 Thread 0x0000000106079800 4645       4       java.util.Collections$SingletonList::get (41 bytes)
Event: 230,825 Thread 0x0000000106079800 nmethod 4645 0x000000010986e950 code [0x000000010986eaa0, 0x000000010986eb18]
Event: 231,689 Thread 0x0000000102018000 4646       4       edu.stanford.nlp.time.TimeExpression::getTemporal (37 bytes)
Event: 231,690 Thread 0x0000000102018000 nmethod 4646 0x00000001099e3890 code [0x00000001099e39e0, 0x00000001099e3ab8]
Event: 233,799 Thread 0x000000010203f000 4647       4       edu.stanford.nlp.time.SUTime$PartialTime::getTimexType (14 bytes)
Event: 233,801 Thread 0x000000010203f000 nmethod 4647 0x000000010961fad0 code [0x000000010961fc20, 0x000000010961fcd8]
Event: 233,919 Thread 0x0000000106079800 4648       4       edu.stanford.nlp.time.SUTime$Temporal::<init> (29 bytes)
Event: 233,919 Thread 0x0000000106079800 nmethod 4648 0x0000000109b96910 code [0x0000000109b96a60, 0x0000000109b96af8]

GC Heap History (10 events):
Event: 230,645 GC heap before
{Heap before GC invocations=236 (full 3):
 PSYoungGen      total 1389568K, used 1388576K [0x000000076ab00000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 1381376K, 100% used [0x000000076ab00000,0x00000007bf000000,0x00000007bf000000)
  from space 8192K, 87% used [0x00000007bf800000,0x00000007bff08000,0x00000007c0000000)
  to   space 8192K, 0% used [0x00000007bf000000,0x00000007bf000000,0x00000007bf800000)
 ParOldGen       total 878592K, used 609297K [0x00000006c0000000, 0x00000006f5a00000, 0x000000076ab00000)
  object space 878592K, 69% used [0x00000006c0000000,0x00000006e53047d8,0x00000006f5a00000)
 Metaspace       used 19982K, capacity 20434K, committed 20608K, reserved 1067008K
  class space    used 2221K, capacity 2341K, committed 2432K, reserved 1048576K
Event: 230,655 GC heap after
Heap after GC invocations=236 (full 3):
 PSYoungGen      total 1389568K, used 7424K [0x000000076ab00000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 1381376K, 0% used [0x000000076ab00000,0x000000076ab00000,0x00000007bf000000)
  from space 8192K, 90% used [0x00000007bf000000,0x00000007bf740000,0x00000007bf800000)
  to   space 8192K, 0% used [0x00000007bf800000,0x00000007bf800000,0x00000007c0000000)
 ParOldGen       total 878592K, used 609529K [0x00000006c0000000, 0x00000006f5a00000, 0x000000076ab00000)
  object space 878592K, 69% used [0x00000006c0000000,0x00000006e533e7d8,0x00000006f5a00000)
 Metaspace       used 19982K, capacity 20434K, committed 20608K, reserved 1067008K
  class space    used 2221K, capacity 2341K, committed 2432K, reserved 1048576K
}
Event: 231,086 GC heap before
{Heap before GC invocations=237 (full 3):
 PSYoungGen      total 1389568K, used 1388800K [0x000000076ab00000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 1381376K, 100% used [0x000000076ab00000,0x00000007bf000000,0x00000007bf000000)
  from space 8192K, 90% used [0x00000007bf000000,0x00000007bf740000,0x00000007bf800000)
  to   space 8192K, 0% used [0x00000007bf800000,0x00000007bf800000,0x00000007c0000000)
 ParOldGen       total 878592K, used 609529K [0x00000006c0000000, 0x00000006f5a00000, 0x000000076ab00000)
  object space 878592K, 69% used [0x00000006c0000000,0x00000006e533e7d8,0x00000006f5a00000)
 Metaspace       used 19982K, capacity 20434K, committed 20608K, reserved 1067008K
  class space    used 2221K, capacity 2341K, committed 2432K, reserved 1048576K
Event: 231,091 GC heap after
Heap after GC invocations=237 (full 3):
 PSYoungGen      total 1389568K, used 7488K [0x000000076ab00000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 1381376K, 0% used [0x000000076ab00000,0x000000076ab00000,0x00000007bf000000)
  from space 8192K, 91% used [0x00000007bf800000,0x00000007bff50000,0x00000007c0000000)
  to   space 8192K, 0% used [0x00000007bf000000,0x00000007bf000000,0x00000007bf800000)
 ParOldGen       total 878592K, used 610098K [0x00000006c0000000, 0x00000006f5a00000, 0x000000076ab00000)
  object space 878592K, 69% used [0x00000006c0000000,0x00000006e53ccaa8,0x00000006f5a00000)
 Metaspace       used 19982K, capacity 20434K, committed 20608K, reserved 1067008K
  class space    used 2221K, capacity 2341K, committed 2432K, reserved 1048576K
}
Event: 231,681 GC heap before
{Heap before GC invocations=238 (full 3):
 PSYoungGen      total 1389568K, used 1388864K [0x000000076ab00000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 1381376K, 100% used [0x000000076ab00000,0x00000007bf000000,0x00000007bf000000)
  from space 8192K, 91% used [0x00000007bf800000,0x00000007bff50000,0x00000007c0000000)
  to   space 8192K, 0% used [0x00000007bf000000,0x00000007bf000000,0x00000007bf800000)
 ParOldGen       total 878592K, used 610098K [0x00000006c0000000, 0x00000006f5a00000, 0x000000076ab00000)
  object space 878592K, 69% used [0x00000006c0000000,0x00000006e53ccaa8,0x00000006f5a00000)
 Metaspace       used 19982K, capacity 20434K, committed 20608K, reserved 1067008K
  class space    used 2221K, capacity 2341K, committed 2432K, reserved 1048576K
Event: 231,686 GC heap after
Heap after GC invocations=238 (full 3):
 PSYoungGen      total 1389568K, used 7488K [0x000000076ab00000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 1381376K, 0% used [0x000000076ab00000,0x000000076ab00000,0x00000007bf000000)
  from space 8192K, 91% used [0x00000007bf000000,0x00000007bf750000,0x00000007bf800000)
  to   space 8192K, 0% used [0x00000007bf800000,0x00000007bf800000,0x00000007c0000000)
 ParOldGen       total 878592K, used 610671K [0x00000006c0000000, 0x00000006f5a00000, 0x000000076ab00000)
  object space 878592K, 69% used [0x00000006c0000000,0x00000006e545bc18,0x00000006f5a00000)
 Metaspace       used 19982K, capacity 20434K, committed 20608K, reserved 1067008K
  class space    used 2221K, capacity 2341K, committed 2432K, reserved 1048576K
}
Event: 231,995 GC heap before
{Heap before GC invocations=239 (full 3):
 PSYoungGen      total 1389568K, used 1388864K [0x000000076ab00000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 1381376K, 100% used [0x000000076ab00000,0x00000007bf000000,0x00000007bf000000)
  from space 8192K, 91% used [0x00000007bf000000,0x00000007bf750000,0x00000007bf800000)
  to   space 8192K, 0% used [0x00000007bf800000,0x00000007bf800000,0x00000007c0000000)
 ParOldGen       total 878592K, used 610671K [0x00000006c0000000, 0x00000006f5a00000, 0x000000076ab00000)
  object space 878592K, 69% used [0x00000006c0000000,0x00000006e545bc18,0x00000006f5a00000)
 Metaspace       used 19982K, capacity 20434K, committed 20608K, reserved 1067008K
  class space    used 2221K, capacity 2341K, committed 2432K, reserved 1048576K
Event: 232,005 GC heap after
Heap after GC invocations=239 (full 3):
 PSYoungGen      total 1389568K, used 6976K [0x000000076ab00000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 1381376K, 0% used [0x000000076ab00000,0x000000076ab00000,0x00000007bf000000)
  from space 8192K, 85% used [0x00000007bf800000,0x00000007bfed0000,0x00000007c0000000)
  to   space 8192K, 0% used [0x00000007bf000000,0x00000007bf000000,0x00000007bf800000)
 ParOldGen       total 878592K, used 611413K [0x00000006c0000000, 0x00000006f5a00000, 0x000000076ab00000)
  object space 878592K, 69% used [0x00000006c0000000,0x00000006e5515768,0x00000006f5a00000)
 Metaspace       used 19982K, capacity 20434K, committed 20608K, reserved 1067008K
  class space    used 2221K, capacity 2341K, committed 2432K, reserved 1048576K
}
Event: 233,886 GC heap before
{Heap before GC invocations=240 (full 3):
 PSYoungGen      total 1389568K, used 1388352K [0x000000076ab00000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 1381376K, 100% used [0x000000076ab00000,0x00000007bf000000,0x00000007bf000000)
  from space 8192K, 85% used [0x00000007bf800000,0x00000007bfed0000,0x00000007c0000000)
  to   space 8192K, 0% used [0x00000007bf000000,0x00000007bf000000,0x00000007bf800000)
 ParOldGen       total 878592K, used 611413K [0x00000006c0000000, 0x00000006f5a00000, 0x000000076ab00000)
  object space 878592K, 69% used [0x00000006c0000000,0x00000006e5515768,0x00000006f5a00000)
 Metaspace       used 19982K, capacity 20434K, committed 20608K, reserved 1067008K
  class space    used 2221K, capacity 2341K, committed 2432K, reserved 1048576K
Event: 233,905 GC heap after
Heap after GC invocations=240 (full 3):
 PSYoungGen      total 1389568K, used 7232K [0x000000076ab00000, 0x00000007c0000000, 0x00000007c0000000)
  eden space 1381376K, 0% used [0x000000076ab00000,0x000000076ab00000,0x00000007bf000000)
  from space 8192K, 88% used [0x00000007bf000000,0x00000007bf710000,0x00000007bf800000)
  to   space 8192K, 0% used [0x00000007bf800000,0x00000007bf800000,0x00000007c0000000)
 ParOldGen       total 878592K, used 611653K [0x00000006c0000000, 0x00000006f5a00000, 0x000000076ab00000)
  object space 878592K, 69% used [0x00000006c0000000,0x00000006e5551768,0x00000006f5a00000)
 Metaspace       used 19982K, capacity 20434K, committed 20608K, reserved 1067008K
  class space    used 2221K, capacity 2341K, committed 2432K, reserved 1048576K
}

Deoptimization events (10 events):
Event: 72,111 Thread 0x0000000106457800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000109f29994 method=edu.stanford.nlp.ling.tokensregex.SequenceMatcher$BranchState.<init>(ILedu/stanford/nlp/ling/tokensregex/SequenceMatcher$BranchState;)V @ 129
Event: 72,111 Thread 0x0000000106457800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000109822f1c method=edu.stanford.nlp.ling.tokensregex.SequenceMatcher$BranchState.<init>(ILedu/stanford/nlp/ling/tokensregex/SequenceMatcher$BranchState;)V @ 129
Event: 72,331 Thread 0x00000001050cb800 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x0000000109a79c20 method=edu.stanford.nlp.ling.tokensregex.types.Expressions$ConditionalExpression.evaluate(Ledu/stanford/nlp/ling/tokensregex/Env;[Ljava/lang/Object;)Ledu/stanford/nlp/ling/tokens
Event: 72,833 Thread 0x0000000105123000 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x0000000109a79c20 method=edu.stanford.nlp.ling.tokensregex.types.Expressions$ConditionalExpression.evaluate(Ledu/stanford/nlp/ling/tokensregex/Env;[Ljava/lang/Object;)Ledu/stanford/nlp/ling/tokens
Event: 92,904 Thread 0x0000000105123000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000109cf94a8 method=java.util.regex.Matcher.appendReplacement(Ljava/lang/StringBuffer;Ljava/lang/String;)Ljava/util/regex/Matcher; @ 96
Event: 120,759 Thread 0x0000000105123000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000109c4e378 method=edu.stanford.nlp.ling.tokensregex.types.ValueFunctions$CompareFunction.checkArgs(Ljava/util/List;)Z @ 72
Event: 169,641 Thread 0x0000000128046800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x000000010936700c method=org.joda.time.PeriodType.indexOf(Lorg/joda/time/DurationFieldType;)I @ 9
Event: 182,065 Thread 0x0000000106457800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000000010952d590 method=java.lang.Integer.equals(Ljava/lang/Object;)Z @ 1
Event: 192,216 Thread 0x0000000128046800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00000001093f2f40 method=edu.stanford.nlp.ling.tokensregex.SequenceMatcher.matches()Z @ 50
Event: 194,982 Thread 0x0000000106457800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000109f81e60 method=edu.stanford.nlp.ling.tokensregex.types.ValueFunctions$TypeCheckedFunction.checkArgs(Ljava/util/List;)Z @ 100

Internal exceptions (10 events):
Event: 231,142 Thread 0x0000000105123000 Implicit null exception at 0x0000000109c5470c to 0x0000000109c54fca
Event: 231,142 Thread 0x0000000105123000 Exception <a 'java/lang/NullPointerException'> (0x0000000787696b08) thrown at [/Users/java_re/workspace/8-2-build-macosx-x86_64/jdk8u121/8372/hotspot/src/share/vm/runtime/sharedRuntime.cpp, line 605]
Event: 231,195 Thread 0x0000000105123000 Implicit null exception at 0x0000000109c5470c to 0x0000000109c54fca
Event: 231,195 Thread 0x0000000105123000 Exception <a 'java/lang/NullPointerException'> (0x000000079bc946d8) thrown at [/Users/java_re/workspace/8-2-build-macosx-x86_64/jdk8u121/8372/hotspot/src/share/vm/runtime/sharedRuntime.cpp, line 605]
Event: 231,210 Thread 0x0000000105123000 Implicit null exception at 0x0000000109c5470c to 0x0000000109c54fca
Event: 231,210 Thread 0x0000000105123000 Exception <a 'java/lang/NullPointerException'> (0x00000007a2c84cf0) thrown at [/Users/java_re/workspace/8-2-build-macosx-x86_64/jdk8u121/8372/hotspot/src/share/vm/runtime/sharedRuntime.cpp, line 605]
Event: 231,225 Thread 0x0000000105123000 Implicit null exception at 0x0000000109c5470c to 0x0000000109c54fca
Event: 231,225 Thread 0x0000000105123000 Exception <a 'java/lang/NullPointerException'> (0x00000007a86ffc28) thrown at [/Users/java_re/workspace/8-2-build-macosx-x86_64/jdk8u121/8372/hotspot/src/share/vm/runtime/sharedRuntime.cpp, line 605]
Event: 231,234 Thread 0x0000000105123000 Implicit null exception at 0x0000000109c5470c to 0x0000000109c54fca
Event: 231,234 Thread 0x0000000105123000 Exception <a 'java/lang/NullPointerException'> (0x00000007ac1d1bc8) thrown at [/Users/java_re/workspace/8-2-build-macosx-x86_64/jdk8u121/8372/hotspot/src/share/vm/runtime/sharedRuntime.cpp, line 605]

Events (10 events):
Event: 230,655 Executing VM operation: ParallelGCFailedAllocation done
Event: 231,085 Executing VM operation: ParallelGCFailedAllocation
Event: 231,091 Executing VM operation: ParallelGCFailedAllocation done
Event: 231,681 Executing VM operation: ParallelGCFailedAllocation
Event: 231,686 Executing VM operation: ParallelGCFailedAllocation done
Event: 231,995 Executing VM operation: ParallelGCFailedAllocation
Event: 232,005 Executing VM operation: ParallelGCFailedAllocation done
Event: 233,886 Executing VM operation: ParallelGCFailedAllocation
Event: 233,905 Executing VM operation: ParallelGCFailedAllocation done
Event: 233,919 Thread 0x0000000106079800 flushing nmethod 0x0000000109363490


Dynamic libraries:
0x0000000032809000 	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x0000000032809000 	/usr/lib/libSystem.B.dylib
0x0000000032809000 	/usr/lib/libstdc++.6.dylib
0x0000000032809000 	/usr/lib/libDiagnosticMessagesClient.dylib
0x0000000032809000 	/usr/lib/libicucore.A.dylib
0x0000000032809000 	/usr/lib/libobjc.A.dylib
0x0000000032809000 	/usr/lib/libz.1.dylib
0x0000000032809000 	/usr/lib/system/libcache.dylib
0x0000000032809000 	/usr/lib/system/libcommonCrypto.dylib
0x0000000032809000 	/usr/lib/system/libcompiler_rt.dylib
0x0000000032809000 	/usr/lib/system/libcopyfile.dylib
0x0000000032809000 	/usr/lib/system/libcorecrypto.dylib
0x0000000032809000 	/usr/lib/system/libdispatch.dylib
0x0000000032809000 	/usr/lib/system/libdyld.dylib
0x0000000032809000 	/usr/lib/system/libkeymgr.dylib
0x0000000032809000 	/usr/lib/system/liblaunch.dylib
0x0000000032809000 	/usr/lib/system/libmacho.dylib
0x0000000032809000 	/usr/lib/system/libquarantine.dylib
0x0000000032809000 	/usr/lib/system/libremovefile.dylib
0x0000000032809000 	/usr/lib/system/libsystem_asl.dylib
0x0000000032809000 	/usr/lib/system/libsystem_blocks.dylib
0x0000000032809000 	/usr/lib/system/libsystem_c.dylib
0x0000000032809000 	/usr/lib/system/libsystem_configuration.dylib
0x0000000032809000 	/usr/lib/system/libsystem_coreservices.dylib
0x0000000032809000 	/usr/lib/system/libsystem_coretls.dylib
0x0000000032809000 	/usr/lib/system/libsystem_dnssd.dylib
0x0000000032809000 	/usr/lib/system/libsystem_info.dylib
0x0000000032809000 	/usr/lib/system/libsystem_kernel.dylib
0x0000000032809000 	/usr/lib/system/libsystem_m.dylib
0x0000000032809000 	/usr/lib/system/libsystem_malloc.dylib
0x0000000032809000 	/usr/lib/system/libsystem_network.dylib
0x0000000032809000 	/usr/lib/system/libsystem_networkextension.dylib
0x0000000032809000 	/usr/lib/system/libsystem_notify.dylib
0x0000000032809000 	/usr/lib/system/libsystem_platform.dylib
0x0000000032809000 	/usr/lib/system/libsystem_pthread.dylib
0x0000000032809000 	/usr/lib/system/libsystem_sandbox.dylib
0x0000000032809000 	/usr/lib/system/libsystem_secinit.dylib
0x0000000032809000 	/usr/lib/system/libsystem_symptoms.dylib
0x0000000032809000 	/usr/lib/system/libsystem_trace.dylib
0x0000000032809000 	/usr/lib/system/libunwind.dylib
0x0000000032809000 	/usr/lib/system/libxpc.dylib
0x0000000032809000 	/usr/lib/libauto.dylib
0x0000000032809000 	/usr/lib/libc++abi.dylib
0x0000000032809000 	/usr/lib/libc++.1.dylib
0x0000000102c82000 	/Users/loretoparisi/Documents/Projects/musixmatch-intelligence-docker/musixmatch-intelligence/mxmaitools-base/webservice/node_modules/ursa/build/Release/ursaNative.node
0x0000000101ddb000 	/Users/loretoparisi/Documents/Projects/musixmatch-intelligence-docker/musixmatch-intelligence/mxmaitools-base/webservice/node_modules/websocket/build/Release/bufferutil.node
0x0000000101de1000 	/Users/loretoparisi/Documents/Projects/musixmatch-intelligence-docker/musixmatch-intelligence/mxmaitools-base/webservice/node_modules/websocket/build/Release/validation.node
0x0000000106983000 	/Users/loretoparisi/Documents/Projects/musixmatch-intelligence-docker/musixmatch-intelligence/mxmaitools-base/webservice/node_modules/nodehun/build/Release/nodehun.node
0x000000010764a000 	/Users/loretoparisi/Documents/Projects/musixmatch-intelligence-docker/musixmatch-intelligence/mxmaitools-base/webservice/node_modules/cld/build/Release/cld.node
0x0000000101d79000 	/Users/loretoparisi/Documents/Projects/musixmatch-intelligence-docker/musixmatch-intelligence/mxmaitools-base/webservice/node_modules/java/build/Release/nodejavabridge_bindings.node
0x0000000107c7e000 	/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre/lib/server/libjvm.dylib
0x0000000101dad000 	/Users/loretoparisi/Documents/Projects/node_modules/ursa/build/Release/ursaNative.node
0x0000000101de7000 	/Users/loretoparisi/Documents/Projects/node_modules/websocket/build/Release/bufferutil.node
0x0000000101ded000 	/Users/loretoparisi/Documents/Projects/node_modules/websocket/build/Release/validation.node
0x00000001069e4000 	/Users/loretoparisi/Documents/Projects/node_modules/nodehun/build/Release/nodehun.node
0x0000000108c20000 	/Users/loretoparisi/Documents/Projects/node_modules/cld/build/Release/cld.node
0x0000000102c8f000 	/Users/loretoparisi/Documents/Projects/node_modules/java/build/Release/nodejavabridge_bindings.node
0x0000000102fe4000 	/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre/lib/libverify.dylib
0x0000000106941000 	/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre/lib/libjava.dylib
0x0000000032809000 	/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x0000000032809000 	/System/Library/Frameworks/Security.framework/Versions/A/Security
0x0000000032809000 	/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x0000000032809000 	/System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x0000000032809000 	/usr/lib/libarchive.2.dylib
0x0000000032809000 	/usr/lib/libxml2.2.dylib
0x0000000032809000 	/System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x0000000032809000 	/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x0000000032809000 	/usr/lib/liblangid.dylib
0x0000000032809000 	/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x0000000032809000 	/usr/lib/libCRFSuite.dylib
0x0000000032809000 	/usr/lib/libenergytrace.dylib
0x0000000032809000 	/usr/lib/libbsm.0.dylib
0x0000000032809000 	/usr/lib/system/libkxld.dylib
0x0000000032809000 	/usr/lib/libcoretls.dylib
0x0000000032809000 	/usr/lib/libcoretls_cfhelpers.dylib
0x0000000032809000 	/usr/lib/libxar.1.dylib
0x0000000032809000 	/usr/lib/libsqlite3.dylib
0x0000000032809000 	/usr/lib/libpam.2.dylib
0x0000000032809000 	/usr/lib/libOpenScriptingUtil.dylib
0x0000000032809000 	/usr/lib/libbz2.1.0.dylib
0x0000000032809000 	/usr/lib/liblzma.5.dylib
0x0000000032809000 	/usr/lib/libnetwork.dylib
0x0000000032809000 	/usr/lib/libpcap.A.dylib
0x0000000032809000 	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents
0x0000000032809000 	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x0000000032809000 	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x0000000032809000 	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x0000000032809000 	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x0000000032809000 	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x0000000032809000 	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x0000000032809000 	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x0000000032809000 	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList
0x0000000032809000 	/System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x0000000032809000 	/System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
0x0000000032809000 	/System/Library/PrivateFrameworks/login.framework/Versions/A/Frameworks/loginsupport.framework/Versions/A/loginsupport
0x0000000032809000 	/System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
0x0000000032809000 	/usr/lib/libmecabra.dylib
0x0000000032809000 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x0000000032809000 	/System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x0000000032809000 	/System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
0x0000000032809000 	/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x0000000032809000 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x0000000032809000 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x0000000032809000 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x0000000032809000 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x0000000032809000 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x0000000032809000 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x0000000032809000 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x0000000032809000 	/System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x0000000032809000 	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x0000000032809000 	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x0000000032809000 	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x0000000032809000 	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib
0x0000000032809000 	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libQuadrature.dylib
0x0000000032809000 	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x0000000032809000 	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x0000000032809000 	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x0000000032809000 	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib
0x0000000032809000 	/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparseBLAS.dylib
0x0000000032809000 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
0x0000000032809000 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
0x0000000032809000 	/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x0000000032809000 	/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x0000000032809000 	/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x0000000032809000 	/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x0000000032809000 	/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x0000000032809000 	/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x0000000032809000 	/usr/lib/libcompression.dylib
0x0000000032809000 	/System/Library/PrivateFrameworks/AppleJPEG.framework/Versions/A/AppleJPEG
0x0000000032809000 	/System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
0x0000000032809000 	/System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
0x0000000032809000 	/usr/lib/libcups.2.dylib
0x0000000032809000 	/System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x0000000032809000 	/System/Library/Frameworks/GSS.framework/Versions/A/GSS
0x0000000032809000 	/usr/lib/libresolv.9.dylib
0x0000000032809000 	/usr/lib/libiconv.2.dylib
0x0000000032809000 	/System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
0x0000000032809000 	/usr/lib/libheimdal-asn1.dylib
0x0000000032809000 	/System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
0x0000000032809000 	/System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
0x0000000032809000 	/System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
0x0000000032809000 	/System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
0x0000000032809000 	/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x0000000032809000 	/System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x0000000032809000 	/System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling
0x0000000032809000 	/usr/lib/libmarisa.dylib
0x0000000032809000 	/usr/lib/libChineseTokenizer.dylib
0x0000000032809000 	/usr/lib/libcmph.dylib
0x0000000032809000 	/System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x0000000032809000 	/System/Library/PrivateFrameworks/CoreEmoji.framework/Versions/A/CoreEmoji
0x0000000032809000 	/System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
0x0000000032809000 	/usr/lib/libxslt.1.dylib
0x0000000102cf5000 	/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre/lib/libzip.dylib
0x0000000106fdf000 	/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/JavaRuntimeSupport
0x0000000032809000 	/System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x0000000106ff9000 	/System/Library/Frameworks/JavaVM.framework/Versions/A/Frameworks/JavaNativeFoundation.framework/Versions/A/JavaNativeFoundation
0x0000000102ff2000 	/System/Library/Frameworks/JavaVM.framework/Versions/A/JavaVM
0x0000000032809000 	/System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x0000000032809000 	/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x0000000032809000 	/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x0000000032809000 	/System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication
0x0000000032809000 	/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x0000000032809000 	/System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage
0x0000000032809000 	/System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x0000000032809000 	/System/Library/Frameworks/Metal.framework/Versions/A/Metal
0x0000000032809000 	/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x0000000032809000 	/usr/lib/libFosl_dynamic.dylib
0x0000000032809000 	/System/Library/PrivateFrameworks/MetalPerformanceShaders.framework/Versions/A/MetalPerformanceShaders
0x0000000032809000 	/System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore
0x0000000032809000 	/System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
0x0000000032809000 	/System/Library/PrivateFrameworks/GPUCompiler.framework/libmetal_timestamp.dylib
0x0000000032809000 	/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache.dylib
0x0000000032809000 	/System/Library/PrivateFrameworks/IOAccelerator.framework/Versions/A/IOAccelerator
0x0000000032809000 	/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x0000000032809000 	/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
0x0000000032809000 	/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x0000000032809000 	/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x0000000032809000 	/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
0x0000000032809000 	/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
0x0000000032809000 	/System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices
0x0000000032809000 	/System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation
0x0000000032809000 	/System/Library/PrivateFrameworks/DFRFoundation.framework/Versions/A/DFRFoundation
0x0000000032809000 	/System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/SkyLight
0x0000000032809000 	/usr/lib/libScreenReader.dylib
0x0000000032809000 	/System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x0000000032809000 	/System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
0x0000000032809000 	/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x0000000032809000 	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x0000000032809000 	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x0000000032809000 	/System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis
0x0000000032809000 	/System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage
0x0000000032809000 	/System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
0x0000000032809000 	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x0000000032809000 	/System/Library/PrivateFrameworks/TextureIO.framework/Versions/A/TextureIO
0x0000000032809000 	/usr/lib/libate.dylib
0x0000000032809000 	/System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/CrashReporterSupport
0x0000000032809000 	/System/Library/PrivateFrameworks/Sharing.framework/Versions/A/Sharing
0x0000000032809000 	/System/Library/PrivateFrameworks/IconServices.framework/Versions/A/IconServices
0x0000000032809000 	/System/Library/PrivateFrameworks/ProtocolBuffer.framework/Versions/A/ProtocolBuffer
0x0000000032809000 	/System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Apple80211
0x0000000032809000 	/System/Library/Frameworks/CoreWLAN.framework/Versions/A/CoreWLAN
0x0000000032809000 	/System/Library/PrivateFrameworks/CoreUtils.framework/Versions/A/CoreUtils
0x0000000032809000 	/System/Library/Frameworks/IOBluetooth.framework/Versions/A/IOBluetooth
0x0000000032809000 	/System/Library/PrivateFrameworks/CoreWiFi.framework/Versions/A/CoreWiFi
0x0000000032809000 	/System/Library/Frameworks/CoreBluetooth.framework/Versions/A/CoreBluetooth
0x0000000032809000 	/System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay
0x0000000032809000 	/System/Library/PrivateFrameworks/IOPresentment.framework/Versions/A/IOPresentment
0x0000000032809000 	/System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols
0x0000000032809000 	/System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication
0x0000000032809000 	/System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompression
0x0000000032809000 	/System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore
0x0000000032809000 	/System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/ChunkingLibrary
0x0000000106976000 	/System/Library/PrivateFrameworks/JavaLaunching.framework/Versions/A/JavaLaunching
0x0000000032809000 	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x0000000032809000 	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x0000000032809000 	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x0000000032809000 	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x0000000032809000 	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x0000000032809000 	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI

VM Arguments:
java_command: <unknown>
java_class_path (initial): /Users/loretoparisi/Documents/Projects/musixmatch-intelligence-docker/musixmatch-intelligence/mxmaitools-base/webservice/node_modules/java/commons-lang3-node-java.jar:/Users/loretoparisi/Documents/Projects/musixmatch-intelligence-docker/musixmatch-intelligence/mxmaitools-base/webservice/node_modules/java/src-java:/Users/loretoparisi/Documents/CoreNLPDataset/jar/jollyday-0.5.1.jar:/Users/loretoparisi/Documents/CoreNLPDataset/jar/mxm2vec.jar:/Users/loretoparisi/Documents/CoreNLPDataset/jar/stanford-corenlp-3.7.0-models.jar:/Users/loretoparisi/Documents/CoreNLPDataset/jar/stanford-corenlp.jar:/Users/loretoparisi/Documents/CoreNLPDataset/jar/stanford-english-corenlp-2016-10-31-models.jar:/Users/loretoparisi/Documents/CoreNLPDataset/jar/stanford-english-kbp-corenlp-2016-10-31-models.jar
Launcher Type: generic

Environment Variables:
CLASSPATH=:/Users/loretoparisi/Documents/CoreNLPDataset:/Users/loretoparisi/Documents/Projects/CoreNLP/lib:/Users/loretoparisi/Documents/Projects/CoreNLP/liblocal
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Users/loretoparisi/apache-maven-3.3.9/bin
SHELL=/bin/bash

Signal Handlers:
SIGSEGV: [libjvm.dylib+0x5b1141], sa_mask[0]=11111111011111110111111111111111, sa_flags=SA_ONSTACK|SA_RESTART|SA_SIGINFO
SIGBUS: [libjvm.dylib+0x5b1141], sa_mask[0]=11111111011111110111111111111111, sa_flags=SA_RESTART|SA_SIGINFO
SIGFPE: [libjvm.dylib+0x487bc4], sa_mask[0]=11111111011111110111111111111111, sa_flags=SA_RESTART|SA_SIGINFO
SIGPIPE: [libjvm.dylib+0x487bc4], sa_mask[0]=11111111011111110111111111111111, sa_flags=SA_RESTART|SA_SIGINFO
SIGXFSZ: [libjvm.dylib+0x487bc4], sa_mask[0]=11111111011111110111111111111111, sa_flags=SA_RESTART|SA_SIGINFO
SIGILL: [libjvm.dylib+0x487bc4], sa_mask[0]=11111111011111110111111111111111, sa_flags=SA_RESTART|SA_SIGINFO
SIGUSR1: [node+0x8d0fb5], sa_mask[0]=11111111011111110111111111111111, sa_flags=none
SIGUSR2: [libjvm.dylib+0x4876e2], sa_mask[0]=00000000000000000000000000000000, sa_flags=SA_RESTART|SA_SIGINFO
SIGHUP: [libjvm.dylib+0x485cb9], sa_mask[0]=11111111011111110111111111111111, sa_flags=SA_RESTART|SA_SIGINFO
SIGINT: [libjvm.dylib+0x485cb9], sa_mask[0]=11111111011111110111111111111111, sa_flags=SA_RESTART|SA_SIGINFO
SIGTERM: [libjvm.dylib+0x485cb9], sa_mask[0]=11111111011111110111111111111111, sa_flags=SA_RESTART|SA_SIGINFO
SIGQUIT: [libjvm.dylib+0x485cb9], sa_mask[0]=11111111011111110111111111111111, sa_flags=SA_RESTART|SA_SIGINFO


---------------  S Y S T E M  ---------------

OS:Bsduname:Darwin 16.4.0 Darwin Kernel Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu-3789.41.3~3/RELEASE_X86_64 x86_64
rlimit: STACK 8192k, CORE 0k, NPROC 709, NOFILE 10240, AS infinity
load average:2,42 2,15 1,81

CPU:total 8 (4 cores per cpu, 2 threads per core) family 6 model 94 stepping 3, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, rtm, 3dnowpref, lzcnt, ht, tsc, tscinvbit, bmi1, bmi2, adx

Memory: 4k page, physical 16777216k(100664k free)

/proc/meminfo:


vm_info: Java HotSpot(TM) 64-Bit Server VM (25.121-b13) for bsd-amd64 JRE (1.8.0_121-b13), built on Dec 12 2016 20:39:32 by "java_re" with gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)

time: Mon Mar 20 01:23:02 2017
elapsed time: 237 seconds (0d 0h 3m 57s)

Why shouldn't we use readFileSync() ?

I'm a newbie to nodejs, so please forgive if I ask things that are painfully obvious.

I read the document and I don't know why we shouldn't actually use readFileSync and is there any better solution to read dictionary file?

Any help or example, references would be highly appreciated.

Cyrillic language support

Hi,

I've been playing around with nodehun and it doesn't look like it works with cyrillic languages (e.g. greek & russian) in that it always returns that the word is misspelled and there are no suggestions.

This is the code I was testing with. In both languages I took "Hello" off Google translate, then a random word out of the aff file. I was wondering if this was an encoding issue somewhere?

var nodehun = require('nodehun');
var ruRU = require('dictionary-ru')
var elGR = require('dictionary-el-gr');

ruRU(function (err, result) {
  var dict = new nodehun(result.aff, result.dic);
  dict.spellSuggest('Здравствуйте',function(err, correct, suggestion, origWord){
      console.log('RU', err, correct, suggestion, origWord);
  });

  dict.spellSuggest('Эдуардович',function(err, correct, suggestion, origWord){
      console.log('RU', err, correct, suggestion, origWord);
  });
})

elGR(function (err, result) {
  var dict = new nodehun(result.aff, result.dic);
  dict.spellSuggest('Χαίρετε',function(err, correct, suggestion, origWord){
      console.log('GR', err, correct, suggestion, origWord);
  });

  dict.spellSuggest('αβαθμίδωτες',function(err, correct, suggestion, origWord){
      console.log('GR', err, correct, suggestion, origWord);
  });
})
RU null false null Здравствуйте
RU null false null Эдуардович
GR null false null Χαίρετε
GR null false null αβαθμίδωτες

Thanks for you help!

Stemming function

Hi,
Could you please also implement the stemming functionality of the libhunspell?

No async or autoload constructor... how about feature constructor( aff, dic, cb ) where....

I notice that there is no async constructor or options for an empty constructor (no buffers). It appears the dictionary (second arg) can be empty though. Good that.

I purpose the following features added:

  1. constructor: a null or undefined for the first argument (aff) will result in construction with a null or empty affix.
  2. add method "setAffix(aff)" will set the affix.
  3. feature add: constructor( aff, dict, cb ), where: if cb is a function and when the aff and dict are ready the cb will be called as cb( null, nodeHun_instance )

I originally posted 5 features, but after looking at the source I realize that 2 were already implemented, so I also raise the api docs for this module please.

Hope my proposal is outlined clearly enough to be fully understood. Some examples:

// sync
const nodehun = require( 'nodehun' )
, dictbase = './dictionaries';
var dict = new nodehun(dictbase+'/en_US.aff', dictbase+'/en_US.dic');
dict.stem('telling', function(err, stems){
console.log(err, stems);
});

// Async
const nodehun = require( 'nodehun' )
, dictbase = './dictionaries';
var dict = new nodehun(dictbase+'/en_US.aff', dictbase+'/en_US.dic', (err, dict) => {
if ( err ) throw err;
dict.stem('telling', function(err, stems){
console.log(err, stems);
});
});

Any thoughts on this?

Any interest in working on this/these features?

Any interest in me doing these features? Write now I have implemented these using a index.js in the node_modules as a wrapper, but without proposed features 1 & 2 it is a bit of a hacky implementation, still it works.

Let me know, I may just add features 1-4 in my own fork to make the wrapper better. If I do so I will let know so you can see if you want to add the node javascript wrapper to the main node module.

All the best, LS

build error: rror: `make` failed with exit code: 2

Hello, since this module has been deprecated I'm trying to build from sources, but I'm not sure how. I have node-gyp installed, and I do:

[loretoparisi@:mbploreto nodehun]$ npm install

> [email protected] install /Users/loretoparisi/Documents/Projects/AI/nodehun
> node-gyp rebuild

make: *** No rule to make target `Release/obj.target/hunspell/src/hunspell/src/hunspell/affentry.o', needed by `Release/hunspell.a'.  Stop.
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Darwin 16.7.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/loretoparisi/Documents/Projects/AI/nodehun
gyp ERR! node -v v6.9.4
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok 

npm ERR! Darwin 16.7.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v6.9.4
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the nodehun package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs nodehun
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls nodehun
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/loretoparisi/Documents/Projects/AI/nodehun/npm-debug.log

Inconsistent spellcheck results

Sometimes, but only under certain conditions, Nodehun classifies words that are actually correct as false. I have attached a file that returns 66 instead of 26 spelling mistakes in some (very rare) cases.

example.zip

Charset suggestions error

Hi, we are using nodehun with dictionaries (es_AR.aff, es_AR.dic) and when suggestions are generated, words with spanish accents are displayed weird.

We tried changing the charset file (es_AR.aff, es_AR.dic) and have no luck. Also, we changed the charset for each word from suggestions array, and it didn't work neither.

Finally, we set the charset in the response header and we have the same result.

To clarify, "version", suggestion should be "versión", and in the suggestion array we found "versi?n":

{
     word, 'version',
     suggestions: ['versi?n'],
     positions: [[Object]]
}

Could you bring some help? Are we missing something?

Thank you very much.

Future

Hi all! Great that a maintainer has been found. That’s really awesome, @Wulf. And thanks @nathanjsweet for your work so far <3

I’m planning on using a proper spell checker in a pretty big project. I previously used nodehun but due to post-0.12 issues I had to switch. There aren’t any good alternatives around (mainly, they don’t support buffers instead of files), so I tried to write my own in plain JS (it’s at 75% done now). Hunspell is much better than what I could ever do though, so I’d prefer to use bindings.

What I’m wondering is, how’s the future of nodehun going to look. For example, will there be updates of nathanjsweet/hunspell-distributed as well, and how about upcoming versions of Node?

This sounds a bit push-y, I’m trying not to be, sorry. I’m wondering what both of your thoughts on the future are. @nathanjsweet, will you still answer issues / questions / review? Will this move over to wulf’s account? Etc. @Wulf, what are your thoughts?

Lastly, I’d love to help as well. I don’t know C, but I’m good at docs, tests, publishing, and most other non-C things :)

Cheers, and again, thanks both!

Documentation of API

Document all the exposed javascript methods in either the wiki or the README file.

If there are too many exposed methods, let's go with the wiki.

Blocked by: #37

Arguments of `callback` for `#spellSuggestions()`

callback in #spellSuggestions(value, callback), is given multiple arguments (err, correct, suggestions, origWord). It would be more in line with Node-style APIs if an object would be given instead, with these parameters.

Synchronous spell checking

Is there any way to make a synchronous spell check? The problem I am having is that I am using Atom/Electron platform to built cross platform desktop application and their requirement is to use synchronous spell checking.

Here is the code from their documentation:

require('web-frame').setSpellCheckProvider("en-US", true, {
  spellCheck: function(text) {
    // return true or false
  }
});

You have done amazing job with this library and I would really like to use it. Keep the good work.

Match Hunspell(3) interface

Implementation Progress
Branch: nan n-api

Implement methods

  • add*
  • addSync
  • remove
  • removeSync
  • suggest
  • suggestSync
  • correct
  • correctSync
  • stem
  • stemSync
  • generate
  • generateSync
  • analyze
  • analyzeSync
  • addDictionary
  • addDictionarySync

After...

  • Implementation passes all tests
  • Code cleanup
  • Document (See #38)

*Investigate parameters (see #44)


Original Message
@wooorm, Regarding matching the Hunspell(3) interface, do you mean this one? Are you suggesting instead of something like spellSuggestions, we have suggest in the exposed javascript API?

error: no matching member function for call to 'NewInstance'

I have

ip-192-168-22-127:webservice loretoparisi$ node -v
v10.1.0
ip-192-168-22-127:webservice loretoparisi$ npm -v
5.6.0

stacktrace:

../src/nodehun.cpp:5:2: warning: "Nodehun is no longer being actively maintained. Please email [email protected] If you are interested in taking over the
      project." [-W#warnings]
#warning "Nodehun is no longer being actively maintained. Please email [email protected] If you are interested in taking over the project."
 ^
In file included from ../src/nodehun.cpp:12:
../src/post0.12.0/nodehun.cpp:92:19: error: no matching member function for call to 'NewInstance'
  argv[1] = cons->NewInstance(1, &ext);
            ~~~~~~^~~~~~~~~~~
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate function not viable: requires single argument 'context', but 2 arguments were
      provided
  V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
                                           ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate function not viable: requires 3 arguments, but 2 were provided
  V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
                                           ^
In file included from ../src/nodehun.cpp:12:
../src/post0.12.0/nodehun.cpp:165:25: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
      String::Utf8Value arg0(args[0]->ToString());
                        ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8.h:2821:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
In file included from ../src/nodehun.cpp:12:
../src/post0.12.0/nodehun.cpp:186:25: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
      String::Utf8Value arg0(args[0]->ToString());
                        ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8.h:2821:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
In file included from ../src/nodehun.cpp:12:
../src/post0.12.0/nodehun.cpp:245:25: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
      String::Utf8Value arg0(args[0]->ToString());
                        ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8.h:2821:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
In file included from ../src/nodehun.cpp:12:
../src/post0.12.0/nodehun.cpp:266:23: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
    String::Utf8Value arg0(args[0]->ToString());
                      ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8.h:2821:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
In file included from ../src/nodehun.cpp:12:
../src/post0.12.0/nodehun.cpp:301:25: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
      String::Utf8Value arg0(args[0]->ToString());
                        ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8.h:2821:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
In file included from ../src/nodehun.cpp:12:
../src/post0.12.0/nodehun.cpp:322:23: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
    String::Utf8Value arg0(args[0]->ToString());
                      ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8.h:2821:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
In file included from ../src/nodehun.cpp:12:
../src/post0.12.0/nodehun.cpp:504:23: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
    String::Utf8Value arg0(args[0]->ToString());
                      ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8.h:2821:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
In file included from ../src/nodehun.cpp:12:
../src/post0.12.0/nodehun.cpp:545:23: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
    String::Utf8Value arg0(args[0]->ToString());
                      ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8.h:2821:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
In file included from ../src/nodehun.cpp:12:
../src/post0.12.0/nodehun.cpp:607:29: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
      v8::String::Utf8Value arg0(args[0]->ToString());
                            ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8.h:2821:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
In file included from ../src/nodehun.cpp:12:
../src/post0.12.0/nodehun.cpp:626:27: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
    v8::String::Utf8Value arg0(args[0]->ToString());
                          ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8.h:2821:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
In file included from ../src/nodehun.cpp:12:
../src/post0.12.0/nodehun.cpp:701:29: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
      v8::String::Utf8Value arg0(args[0]->ToString());
                            ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8.h:2821:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
In file included from ../src/nodehun.cpp:12:
../src/post0.12.0/nodehun.cpp:702:29: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
      v8::String::Utf8Value arg1(args[1]->ToString());
                            ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8.h:2821:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
In file included from ../src/nodehun.cpp:12:
../src/post0.12.0/nodehun.cpp:722:27: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
    v8::String::Utf8Value arg0(args[0]->ToString());
                          ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8.h:2821:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
In file included from ../src/nodehun.cpp:12:
../src/post0.12.0/nodehun.cpp:723:27: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
    v8::String::Utf8Value arg1(args[1]->ToString());
                          ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8.h:2821:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
In file included from ../src/nodehun.cpp:12:
../src/post0.12.0/nodehun.cpp:790:29: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
      v8::String::Utf8Value arg0(args[0]->ToString());
                            ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8.h:2821:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
In file included from ../src/nodehun.cpp:12:
../src/post0.12.0/nodehun.cpp:809:27: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
    v8::String::Utf8Value arg0(args[0]->ToString());
                          ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8.h:2821:5: note: 'Utf8Value' has been explicitly marked deprecated here
    V8_DEPRECATED("Use Isolate version",
    ^
/Users/loretoparisi/.node-gyp/10.1.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
17 warnings and 1 error generated.
make: *** [Release/obj.target/nodehun/src/nodehun.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:235:12)
gyp ERR! System Darwin 17.5.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/loretoparisi/Documents/Projects/musixmatch-ai-console/webservice/node_modules/nodehun
gyp ERR! node -v v10.1.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok 
npm WARN [email protected] No repository field.
npm WARN [email protected] No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/loretoparisi/.npm/_logs/2018-05-11T07_19_57_492Z-debug.log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.