Download dependencies
import xml.etree.cElementTree as ET
from lxml import etree
from itertools import chain
import pandas as pd
You need to install Python and pandas
library before running this script.
Assuming we have .xlsx
sheet sit right at where we run Python script.
sheets = pd.ExcelFile('Lista de e-mails & Email List.xlsx') # use pandas to read excel sheets
search_sheet = pd.read_excel('Exampl names.xls', header=None)[[2]].rename(columns={2: 'search_name'}) # also use to read search name
Here, I create function to parse excel sheets and grab all name founded in documents then concat them together
##Solr installation
not finalize yet
First change directory to solr-5.4.0 and start solr
cd /opt/solr-5.4.0
sudo ./bin/solr start -c -m 50g
#Dowload IMDB data for LSTM example
Here is a snippet to download python code and imdb.pkl
wget http://deeplearning.net/tutorial/code/imdb.py
wget http://deeplearning.net/tutorial/code/lstm.py
wget http://www.iro.umontreal.ca/~lisa/deep/data/imdb.pkl