Computation with strings 4 Day 5 - 9/09/16

Slides:



Advertisements
Similar presentations
Regular expressions Day 2
Advertisements

String in C++. String Series of characters enclosed in double quotes.“Philadelphia University” String can be array of characters ends with null character.
Strings and regular expressions Day 10 LING Computational Linguistics Harry Howard Tulane University.
10 November JavaScript. Presentation Hints What do YOU think makes a good presentation Some of my suggestions Don’t write full sentences on slides Talk,
CS31: Introduction to Computer Science I Discussion 1A 4/2/2010 Sungwon Yang
Computing with Strings CSC 161: The Art of Programming Prof. Henry Kautz 9/16/2009.
UNICODE & CONTROL DAY /24/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
Chapter 3 Representing Numbers and Text in Binary Information Technology in Theory By Pelin Aksoy and Laura DeNardis.
TEXT STATISTICS 5 DAY /29/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
NLTK & BASIC TEXT STATS DAY /08/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
COMPUTATION WITH STRINGS 4 DAY 5 - 9/05/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
ON-LINE DOCUMENTS 3 DAY /17/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
UNICODE DAY /22/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
CS0004: Introduction to Programming Variables – Strings.
Structured programming 3 Day 33 LING Computational Linguistics Harry Howard Tulane University.
COMPUTATION WITH STRINGS 2 DAY 2 - 8/29/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
SCRIPTS & FUNCTIONS DAY /06/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
ITBP 119 Algorithms and Problem Solving Section 2.1 Installing software Section 2.2 First Programs Section 2.3 Variables.
TWITTER 2 DAY /10/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
WEB TEXT DAY /14/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
Type your question here. Type Answer Type your question here. Type Answer.
Strings, output, quotes and comments
INTRODUCTION TO THE COURSE DAY 1 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
Arrays and Strings. Why? Consider a class of 30 students, each has a score for hw1  Do we want to have 30 variables with different names?  Would it.
REGULAR EXPRESSIONS 3 DAY 8 - 9/12/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
PAGES Text. Syntax Introduced char, String Char is single character String is a string of characters How to define them? How to assign them? How.
Computers, Variables and Types Engineering 1D04, Teaching Session 2.
REGULAR EXPRESSIONS 4 DAY 9 - 9/15/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
COMPUTATION WITH STRINGS 1 DAY 2 - 8/27/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
JavaScript. JavaScript is the programming language of HTML and the Web. Easy to learn One of the 3 languages of all developers MUST learn: 1. HTML to.
REGULAR EXPRESSIONS 1 DAY 6 - 9/08/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
ON-LINE DOCUMENTS DAY /13/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
CONTROL 2 DAY /26/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
COMPUTATION WITH STRINGS 3 DAY 4 - 9/03/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
Computer Programming 2 Lab (1) I.Fatimah Alzahrani.
PHP Form Processing * referenced from
CONTROL 3 DAY /29/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
Introduction to the course Aug 30, Day 1 Object-oriented Programming thru Video Games TIDE 1840 Harry Howard Tulane University.
Test1 Here some text. Text 2 More text.
Lesson 03: Variables and Types
Lists 1 Day /17/14 LING 3820 & 6820 Natural Language Processing
String Concepts In general, a string is a series of characters treated as a unit. Computer science has long recognized the importance of strings, but it.
Lists 2 Day /19/14 LING 3820 & 6820 Natural Language Processing
Flat text Day 6 - 9/12/16 LING 3820 & 6820 Natural Language Processing
Computation with strings 2 Day 3 - 9/02/16
Flat text 2 Day 7 - 9/14/16 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
Flat text 3 Day 8 - 9/16/16 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
Computation with strings 3 Day 4 - 9/07/16
Biology: migration Day 7
Computation with strings 1 Day 2 - 8/31/16
Ecology: predator-prey models Day 15
Regular expressions 2 Day /23/16
LING 3820 & 6820 Natural Language Processing Harry Howard
control 4 Day /01/14 LING 3820 & 6820 Natural Language Processing
LING 3820 & 6820 Natural Language Processing Harry Howard
Introduction to the course Day 1
[type text here] [type text here] [type text here] [type text here]
Control 3 Day /05/16 LING 3820 & 6820 Natural Language Processing
NLP 2 Day /07/16 LING 3820 & 6820 Natural Language Processing
Your text here Your text here Your text here Your text here Your text here Pooky.Pandas.
Regular expressions 3 Day /26/16
August
Lesson 03: Variables and Types
Your text here Your text here Your text here Your text here
Topics discussed in this section:
[type text here] [type text here] [type text here] [type text here]
Python Lessons 7 & 8 Mr. Kalmes.
Python Lessons 7 & 8 Mr. Husch.
Control 1 Day /30/16 LING 3820 & 6820 Natural Language Processing
Primitive Data Types and Operators
Presentation transcript:

Computation with strings 4 Day 5 - 9/09/16 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University

Course organization http://www.tulane.edu/~howard/NLP/ 1.1.7. Schedule of assignments Is there anyone here that wasn't here last week? NLP, Prof. Howard, Tulane University 07-Sep-2016

§4. Computation with strings What is a string? A string is a sequence of characters delimited between single or double quotes. NLP, Prof. Howard, Tulane University 07-Sep-2016

4.8.3. Practice 7 Assign a string or number to the italicized, camel- cased names in the textual template below and compose them with the text so that it makes sense. Do the composition both through concatenation and string formatting. Which do you think is easier to do, or to understand as code? My name is firstName lastName. I am myAge years old. I am in my ordinalYear of undergradGrad studies at uniName University. NLP, Prof. Howard, Tulane University 07-Sep-2016

Answer My name is firstName lastName. I am myAge years old. I am in my ordinalYear of undergradGrad studies at uniName University. NLP, Prof. Howard, Tulane University 07-Sep-2016

Next time Q1, which I will e-mail to you NLP, Prof. Howard, Tulane University 07-Sep-2016