Skip to content

Commit

Permalink
credits added
Browse files Browse the repository at this point in the history
  • Loading branch information
nevmenandr committed Oct 19, 2019
1 parent eea2595 commit 87ddfbd
Showing 1 changed file with 21 additions and 28 deletions.
49 changes: 21 additions & 28 deletions word2novel.ipynb
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Word2vec novels\n",
"\n",
"Векторные романы: код для рерайтинга произведений русской литературы, развлекательного проекта [Бориса Орехова](http://nevmenandr.net/bo.php)\n",
"\n",
"[Статья на Хабре](https://habr.com/ru/post/326380/)"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [
{
"name": "stderr",
Expand Down Expand Up @@ -37,9 +46,7 @@
{
"cell_type": "code",
"execution_count": 3,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [],
"source": [
"morph = pymorphy2.MorphAnalyzer()\n",
Expand All @@ -50,9 +57,7 @@
{
"cell_type": "code",
"execution_count": 10,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [],
"source": [
"pth_source = 'books_before/'\n",
Expand Down Expand Up @@ -85,9 +90,7 @@
{
"cell_type": "code",
"execution_count": 6,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [],
"source": [
"#print(ord('А'))\n",
Expand Down Expand Up @@ -116,9 +119,7 @@
{
"cell_type": "code",
"execution_count": 7,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [],
"source": [
"def search_neighbour(word, pos, gend='masc'):\n",
Expand Down Expand Up @@ -191,9 +192,7 @@
{
"cell_type": "code",
"execution_count": 104,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [
{
"data": {
Expand Down Expand Up @@ -232,9 +231,7 @@
{
"cell_type": "code",
"execution_count": 11,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [
{
"name": "stdout",
Expand Down Expand Up @@ -405,9 +402,7 @@
{
"cell_type": "code",
"execution_count": 25,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [
{
"name": "stdout",
Expand Down Expand Up @@ -572,9 +567,7 @@
{
"cell_type": "code",
"execution_count": 9,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [
{
"name": "stdout",
Expand Down Expand Up @@ -756,7 +749,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.4.2"
"version": "3.6.3"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 87ddfbd

Please sign in to comment.