This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function hsvToRgb(h,s,l){ | |
h /= 1; | |
s /= 1; | |
l /= 1; | |
let r, g, b; | |
if (s === 0) { | |
r = g = b = l; // achromatic | |
} else { | |
const hue2rgb = (p, q, t) => { | |
if (t < 0) t += 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from IPython.display import display | |
from ipywidgets import Checkbox | |
import csv | |
import gensim | |
word_model = gensim.models.KeyedVectors.load_word2vec_format('model.vec', binary=False) | |
def ambiguous_word_labeling(ambiguous_word_list): |