diff --git "a/AI/\354\202\254\354\240\204 \354\203\235\354\204\261.ipynb" "b/AI/\354\202\254\354\240\204 \354\203\235\354\204\261.ipynb" index 18ae6ff9..241d1a0b 100644 --- "a/AI/\354\202\254\354\240\204 \354\203\235\354\204\261.ipynb" +++ "b/AI/\354\202\254\354\240\204 \354\203\235\354\204\261.ipynb" @@ -206,7 +206,7 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 4, "metadata": {}, "outputs": [], "source": [ @@ -227,7 +227,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 5, "metadata": {}, "outputs": [ { @@ -14903,7 +14903,7 @@ " ...]" ] }, - "execution_count": 11, + "execution_count": 5, "metadata": {}, "output_type": "execute_result" } @@ -14912,6 +14912,29 @@ "standard_okt_data" ] }, + { + "cell_type": "code", + "execution_count": 7, + "metadata": {}, + "outputs": [], + "source": [ + "from gensim.models import Word2Vec\n", + "import matplotlib.pyplot as plt" + ] + }, + { + "cell_type": "code", + "execution_count": 8, + "metadata": {}, + "outputs": [], + "source": [ + "dialect_word2vec = Word2Vec(sentences=dialect_okt_data, vector_size=100, min_count=1, window=5, workers=4)\n", + "standard_word2vec = Word2Vec(sentences=standard_okt_data, vector_size=100, min_count=1, window=5, workers=4)\n", + "\n", + "dialect_word2vec.save(\"dialect_word2vec.bin\")\n", + "standard_word2vec.save(\"standard_word2vec.bin\")" + ] + }, { "cell_type": "code", "execution_count": 12,