-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
links to book in docs and bitly links in README
- Loading branch information
Hobson Lane
committed
Nov 2, 2018
1 parent
f01414d
commit a3af84b
Showing
5 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<html><body><META HTTP-EQUIV="Refresh" CONTENT="0;URL=https://www.manning.com/books/natural-language-processing-in-action?a_aid=totalgood&a_bid=19bd201b"></body></html> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<html><body><META HTTP-EQUIV="Refresh" CONTENT="0;URL=https://www.manning.com/books/natural-language-processing-in-action?a_aid=totalgood&a_bid=19bd201b"></body></html> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<html><body><META HTTP-EQUIV="Refresh" CONTENT="0;URL=https://www.manning.com/books/natural-language-processing-in-action?a_aid=totalgood&a_bid=19bd201b"></body></html> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
""" Example python snippets and listing in Chapter 6 """ | ||
import pandas as pd | ||
import numpy as np | ||
from nlpia.loaders import get_data | ||
|
||
wv = get_data('word2vec') | ||
|
||
""" | ||
>>> answer_vector = wv['woman'] + wv['Europe'] + wv[physics'] +\ | ||
... wv['scientist'] | ||
""" | ||
|
||
answer_vector = wv['woman'] + wv['Europe'] + wv['physics'] + wv['scientist'] |