Natural Language Processing with PyTorch


Book Description

Natural Language Processing (NLP) provides boundless opportunities for solving problems in artificial intelligence, making products such as Amazon Alexa and Google Translate possible. If you’re a developer or data scientist new to NLP and deep learning, this practical guide shows you how to apply these methods using PyTorch, a Python-based deep learning library. Authors Delip Rao and Brian McMahon provide you with a solid grounding in NLP and deep learning algorithms and demonstrate how to use PyTorch to build applications involving rich representations of text specific to the problems you face. Each chapter includes several code examples and illustrations. Explore computational graphs and the supervised learning paradigm Master the basics of the PyTorch optimized tensor manipulation library Get an overview of traditional NLP concepts and methods Learn the basic ideas involved in building neural networks Use embeddings to represent words, sentences, documents, and other features Explore sequence prediction and generate sequence-to-sequence models Learn design patterns for building production NLP systems




Handbook of Research on Natural Language Processing and Smart Service Systems


Book Description

Natural language processing (NLP) is a branch of artificial intelligence that has emerged as a prevalent method of practice for a sizeable amount of companies. NLP enables software to understand human language and process complex data that is generated within businesses. In a competitive market, leading organizations are showing an increased interest in implementing this technology to improve user experience and establish smarter decision-making methods. Research on the application of intelligent analytics is crucial for professionals and companies who wish to gain an edge on the opposition. The Handbook of Research on Natural Language Processing and Smart Service Systems is a collection of innovative research on the integration and development of intelligent software tools and their various applications within professional environments. While highlighting topics including discourse analysis, information retrieval, and advanced dialog systems, this book is ideally designed for developers, practitioners, researchers, managers, engineers, academicians, business professionals, scholars, policymakers, and students seeking current research on the improvement of competitive practices through the use of NLP and smart service systems.




Natural Language Understanding and Intelligent Applications


Book Description

This book constitutes the joint refereed proceedings of the 5th CCF Conference on Natural Language Processing and Chinese Computing, NLPCC 2016, and the 24th International Conference on Computer Processing of Oriental Languages, ICCPOL 2016, held in Kunming, China, in December 2016. The 48 revised full papers presented together with 41 short papers were carefully reviewed and selected from 216 submissions. The papers cover fundamental research in language computing, multi-lingual access, web mining/text mining, machine learning for NLP, knowledge graph, NLP for social network, as well as applications in language computing.




Natural Language Processing with Transformers, Revised Edition


Book Description

Since their introduction in 2017, transformers have quickly become the dominant architecture for achieving state-of-the-art results on a variety of natural language processing tasks. If you're a data scientist or coder, this practical book -now revised in full color- shows you how to train and scale these large models using Hugging Face Transformers, a Python-based deep learning library. Transformers have been used to write realistic news stories, improve Google Search queries, and even create chatbots that tell corny jokes. In this guide, authors Lewis Tunstall, Leandro von Werra, and Thomas Wolf, among the creators of Hugging Face Transformers, use a hands-on approach to teach you how transformers work and how to integrate them in your applications. You'll quickly learn a variety of tasks they can help you solve. Build, debug, and optimize transformer models for core NLP tasks, such as text classification, named entity recognition, and question answering Learn how transformers can be used for cross-lingual transfer learning Apply transformers in real-world scenarios where labeled data is scarce Make transformer models efficient for deployment using techniques such as distillation, pruning, and quantization Train transformers from scratch and learn how to scale to multiple GPUs and distributed environments




Natural Language Processing Fundamentals


Book Description

Use Python and NLTK (Natural Language Toolkit) to build out your own text classifiers and solve common NLP problems. Key FeaturesAssimilate key NLP concepts and terminologies Explore popular NLP tools and techniquesGain practical experience using NLP in application codeBook Description If NLP hasn't been your forte, Natural Language Processing Fundamentals will make sure you set off to a steady start. This comprehensive guide will show you how to effectively use Python libraries and NLP concepts to solve various problems. You'll be introduced to natural language processing and its applications through examples and exercises. This will be followed by an introduction to the initial stages of solving a problem, which includes problem definition, getting text data, and preparing it for modeling. With exposure to concepts like advanced natural language processing algorithms and visualization techniques, you'll learn how to create applications that can extract information from unstructured data and present it as impactful visuals. Although you will continue to learn NLP-based techniques, the focus will gradually shift to developing useful applications. In these sections, you'll understand how to apply NLP techniques to answer questions as can be used in chatbots. By the end of this book, you'll be able to accomplish a varied range of assignments ranging from identifying the most suitable type of NLP task for solving a problem to using a tool like spacy or gensim for performing sentiment analysis. The book will easily equip you with the knowledge you need to build applications that interpret human language. What you will learnObtain, verify, and clean data before transforming it into a correct format for usePerform data analysis and machine learning tasks using PythonUnderstand the basics of computational linguisticsBuild models for general natural language processing tasksEvaluate the performance of a model with the right metricsVisualize, quantify, and perform exploratory analysis from any text dataWho this book is for Natural Language Processing Fundamentals is designed for novice and mid-level data scientists and machine learning developers who want to gather and analyze text data to build an NLP-powered product. It'll help you to have prior experience of coding in Python using data types, writing functions, and importing libraries. Some experience with linguistics and probability is useful but not necessary.




Natural Language Processing in Artificial Intelligence


Book Description

This volume focuses on natural language processing, artificial intelligence, and allied areas. Natural language processing enables communication between people and computers and automatic translation to facilitate easy interaction with others around the world. This book discusses theoretical work and advanced applications, approaches, and techniques for computational models of information and how it is presented by language (artificial, human, or natural) in other ways. It looks at intelligent natural language processing and related models of thought, mental states, reasoning, and other cognitive processes. It explores the difficult problems and challenges related to partiality, underspecification, and context-dependency, which are signature features of information in nature and natural languages. Key features: Addresses the functional frameworks and workflow that are trending in NLP and AI Looks at the latest technologies and the major challenges, issues, and advances in NLP and AI Explores an intelligent field monitoring and automated system through AI with NLP and its implications for the real world Discusses data acquisition and presents a real-time case study with illustrations related to data-intensive technologies in AI and NLP.




Applied Natural Language Processing in the Enterprise


Book Description

NLP has exploded in popularity over the last few years. But while Google, Facebook, OpenAI, and others continue to release larger language models, many teams still struggle with building NLP applications that live up to the hype. This hands-on guide helps you get up to speed on the latest and most promising trends in NLP. With a basic understanding of machine learning and some Python experience, you'll learn how to build, train, and deploy models for real-world applications in your organization. Authors Ankur Patel and Ajay Uppili Arasanipalai guide you through the process using code and examples that highlight the best practices in modern NLP. Use state-of-the-art NLP models such as BERT and GPT-3 to solve NLP tasks such as named entity recognition, text classification, semantic search, and reading comprehension Train NLP models with performance comparable or superior to that of out-of-the-box systems Learn about Transformer architecture and modern tricks like transfer learning that have taken the NLP world by storm Become familiar with the tools of the trade, including spaCy, Hugging Face, and fast.ai Build core parts of the NLP pipeline--including tokenizers, embeddings, and language models--from scratch using Python and PyTorch Take your models out of Jupyter notebooks and learn how to deploy, monitor, and maintain them in production




Natural Language Processing for Online Applications


Book Description

This text covers the technologies of document retrieval, information extraction, and text categorization in a way which highlights commonalities in terms of both general principles and practical concerns. It assumes some mathematical background on the part of the reader, but the chapters typically begin with a non-mathematical account of the key issues. Current research topics are covered only to the extent that they are informing current applications; detailed coverage of longer term research and more theoretical treatments should be sought elsewhere. There are many pointers at the ends of the chapters that the reader can follow to explore the literature. However, the book does maintain a strong emphasis on evaluation in every chapter both in terms of methodology and the results of controlled experimentation.




Getting Started with Natural Language Processing


Book Description

Hit the ground running with this in-depth introduction to the NLP skills and techniques that allow your computers to speak human. In Getting Started with Natural Language Processing you’ll learn about: Fundamental concepts and algorithms of NLP Useful Python libraries for NLP Building a search algorithm Extracting information from raw text Predicting sentiment of an input text Author profiling Topic labeling Named entity recognition Getting Started with Natural Language Processing is an enjoyable and understandable guide that helps you engineer your first NLP algorithms. Your tutor is Dr. Ekaterina Kochmar, lecturer at the University of Bath, who has helped thousands of students take their first steps with NLP. Full of Python code and hands-on projects, each chapter provides a concrete example with practical techniques that you can put into practice right away. If you’re a beginner to NLP and want to upgrade your applications with functions and features like information extraction, user profiling, and automatic topic labeling, this is the book for you. About the technology From smart speakers to customer service chatbots, apps that understand text and speech are everywhere. Natural language processing, or NLP, is the key to this powerful form of human/computer interaction. And a new generation of tools and techniques make it easier than ever to get started with NLP! About the book Getting Started with Natural Language Processing teaches you how to upgrade user-facing applications with text and speech-based features. From the accessible explanations and hands-on examples in this book you’ll learn how to apply NLP to sentiment analysis, user profiling, and much more. As you go, each new project builds on what you’ve previously learned, introducing new concepts and skills. Handy diagrams and intuitive Python code samples make it easy to get started—even if you have no background in machine learning! What's inside Fundamental concepts and algorithms of NLP Extracting information from raw text Useful Python libraries Topic labeling Building a search algorithm About the reader You’ll need basic Python skills. No experience with NLP required. About the author Ekaterina Kochmar is a lecturer at the Department of Computer Science of the University of Bath, where she is part of the AI research group. Table of Contents 1 Introduction 2 Your first NLP example 3 Introduction to information search 4 Information extraction 5 Author profiling as a machine-learning task 6 Linguistic feature engineering for author profiling 7 Your first sentiment analyzer using sentiment lexicons 8 Sentiment analysis with a data-driven approach 9 Topic analysis 10 Topic modeling 11 Named-entity recognition




Handbook of Natural Language Processing


Book Description

The Handbook of Natural Language Processing, Second Edition presents practical tools and techniques for implementing natural language processing in computer systems. Along with removing outdated material, this edition updates every chapter and expands the content to include emerging areas, such as sentiment analysis.New to the Second EditionGreater