Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "Computation with strings 4 Day 5 - 9/09/16"— Presentation transcript:

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

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

3 §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 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

5 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

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


Download ppt "Computation with strings 4 Day 5 - 9/09/16"

Similar presentations


Ads by Google