December 2015
Beginner to intermediate
122 pages
2h 23m
English
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "Storm configurations can be done using storm.yaml, which is present in the conf folder".
A block of code is set as follows:
import nltk.corpus from petrel import storm from petrel.emitter import BasicBolt class SplitSentenceBolt(BasicBolt): def __init__(self): super(SplitSentenceBolt, self).__init__(script=__file__) self.stop = set(nltk.corpus.stopwords.words('english')) self.stop.update(['http', ...Read now
Unlock full access