Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Replace YOUR_API_KEY_HERE
with the subscription key of your Cognitive Services resource. Leave the quotation marks!"
A block of code is set as follows:
# Connect to API through subscription key and endpoint subscription_key = "<your-subscription-key>" endpoint = "https://<your-cognitive-service>.cognitiveservices.azure.com/" # Authenticate credential = AzureKeyCredential(subscription_key) cog_client = TextAnalyticsClient(endpoint=endpoint, credential=credential)
Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: "Select Review + Create."
Tips or Important Notes
Appear like this.