Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more.
Course Hero has millions of course specific materials providing students with the best way to expand
their education.
Below is a small sample set of documents:
Sveriges lantbruksuniversitet - CMPT - 413
Homework #5: CMPT-413Reading: NLTK Tutorial (http:/nltk.sf.net/docs.html); Chapter 8 and Chapter 9 Distributed on Mar 7; due on Mar 21Anoop Sarkar anoop@cs.sfu.caOnly submit answers for questions marked with . (1) Write down a grammar that deri
Sveriges lantbruksuniversitet - CMPT - 413
CMPT 413 Computational LinguisticsAnoop Sarkarhttp:/www.cs.sfu.ca/~anoop1/15/071Natural Language Processing (NLP) NLP is the application of a computational theory of human language Language is the predominant repository of human interaction
Sveriges lantbruksuniversitet - CMPT - 413
CMPT 413 Computational LinguisticsAnoop Sarkarhttp:/www.cs.sfu.ca/~anoop1/15/071Formal Languages: Recap Symbols: a, b, c Alphabet : finite set of symbols ! = {a, b} String: sequence of symbols bab Empty string: " Define: !" = ! # {"} Se
Sveriges lantbruksuniversitet - CMPT - 413
CMPT 413 Computational LinguisticsAnoop Sarkarhttp:/www.cs.sfu.ca/~anoop1/19/071Algorithms for FSMs(finite-state machines) Recognition of a string in a regular language: is a string accepted by an NFA? Conversion of regular expressions to
Sveriges lantbruksuniversitet - CMPT - 413
CMPT 413 Computational LinguisticsAnoop Sarkarhttp:/www.cs.sfu.ca/~anoop1/22/071Finite-state transducers a : 0 is a notation for a mapping between two alphabets a ! "1 and 0 ! "2 Finite-state transducers (FSTs) accept pairs of strings Fini
Sveriges lantbruksuniversitet - CMPT - 413
CMPT-413 Computational LinguisticsAnoop Sarkar http:/www.cs.sfu.ca/anoopFebruary 12, 20071 / 32Quick guide to probability theoryP(X) means probability that X is trueP(baby is a girl) = 0.5 percentage of total number of babies that are girls
Sveriges lantbruksuniversitet - CMPT - 413
CMPT 413 Computational LinguisticsAnoop Sarkarhttp:/www.cs.sfu.ca/~anoop2/9/071n-grams A simple model of language Computes a probability for observed input Probability is likelihood of observation being generated by the same source as the
Sveriges lantbruksuniversitet - CMPT - 413
CMPT-413 Computational LinguisticsAnoop Sarkar http:/www.cs.sfu.ca/anoopFebruary 16, 20071 / 27How good is a modelSo far we've seen the probability of a sentence: P(w0 , . . . , wn ) What is the probability of a collection of sentences, that
Sveriges lantbruksuniversitet - CMPT - 413
CMPT 413 Computational LinguisticsAnoop Sarkarhttp:/www.cs.sfu.ca/~anoop4/16/071Sequence Learning British Left Waffles on Falkland Islands (N, N, V, P, N, N) (N, V, N, P, N, N) Segmentation (b, i, b, i, b, b, i, b, i, b, i, b, i, b, i,
Sveriges lantbruksuniversitet - CMPT - 413
Sveriges lantbruksuniversitet - CMPT - 413
p(a|.) p(b|.) p(e|.) p(q|.) p(r|.)p(.|q)0.4 0.6 0 0.2 0.8p(.|r)0.1 0.9 0 0.3 0.7p(.|start)0 0 1.0 1.0 0QuickTime an TIFF (LZW) decom are needed to see thisp(a,q|.) p(b,q|.) p(a,r|.) p(b,r|.) totals input = bbba best(q) best(r) e 1.0 0p
Sveriges lantbruksuniversitet - CMPT - 413
CMPT 413 Computational LinguisticsAnoop Sarkarhttp:/www.cs.sfu.ca/~anoop2/9/071Automatic Speech Recognition Acoustic observations: signal processing to extract energy levels at each frequency level Observation sequence o is composed of acou
Sveriges lantbruksuniversitet - CMPT - 413
CMPT-413 Computational LinguisticsAnoop Sarkar http:/www.cs.sfu.ca/anoopMarch 2, 20071 / 29Parts of SpeechWe have seen that individual words can be classified into groups or classes that we call parts of speechDeterminers: a, the Verbs: arr
Sveriges lantbruksuniversitet - CMPT - 413
CMPT 413 Computational LinguisticsAnoop Sarkarhttp:/www.cs.sfu.ca/~anoop3/21/071Context-free Grammars Set of rules by which valid sentences can be constructed. Example:Sentence ! Noun Verb Object Noun ! trees | parsers Verb ! are | grow Ob
Sveriges lantbruksuniversitet - CMPT - 413
CMPT-413 Computational LinguisticsAnoop Sarkar http:/www.cs.sfu.ca/anoopMarch 28, 20071 / 36Why are parsing algorithms important?A linguistic theory is implemented in a formal system to generate the set of grammatical strings and rule out un
Sveriges lantbruksuniversitet - CMPT - 413
CMPT-413 Computational LinguisticsAnoop Sarkar http:/www.cs.sfu.ca/anoopMarch 28, 20071 / 30Probabilistic CFG (PCFG)S VP VP PP NP NP NP NP V P NP VP 1 V NP 0.9 VP PP 0.1 P NP 1 NP PP 0.25 Calvin 0.25 monsters 0.25 school 0.25 imagin
Sveriges lantbruksuniversitet - CMPT - 413
CMPT-413 Computational LinguisticsAnoop Sarkar http:/www.cs.sfu.ca/anoopApril 17, 20071 / 34Writing a grammar for natural language: Grammar DevelopmentGrammar development is the process of writing a grammar for a particular language This can
Sveriges lantbruksuniversitet - CMPT - 413
Sveriges lantbruksuniversitet - CMPT - 413
CMPT-413 Computational LinguisticsAnoop Sarkar http:/www.cs.sfu.ca/anoopMarch 28, 20071 / 19Lexical SemanticsSo far, we have listed words in our lexicon or vocabulary assuming a single meaning per word: Consider n-grams P (wi | wi -2 , wi -1
Sveriges lantbruksuniversitet - CMPT - 413
CMPT-413 Computational LinguisticsAnoop Sarkar http:/www.cs.sfu.ca/anoopApril 4, 20071 / 28Discourse ProcessingMultiple sentences, dialogs Human-human (Switchboard corpus) and human-computer interaction (ATIS corpus) New phenomena at the dis
Berkeley - IEOR - 263
Fall 08, IEOR 263A Homework 10 Solutions 1. We have that the transition probability matrix of {Xnd } is P d and by definition of d, gcd{n 1 : (nd) pii > 0} = 1, then {Xnd } is aperiodic. Consider the matrix P = 0 1 1 . 0In this case d = 2, {Xn } i
Iowa State - ECON - 101
Economics "The study of choice under conditions of scarcity" Scarcity Individual consumers: Spending power (or income) & time Society: Factors of Production: (Land, Labor, Capital, Human Capital) Land: All gifts of nature (land, natural resources, et
Wisconsin - BOTANY - 422
PERSPECTIVES2006. The number of grains will be limited (~100 interstellar and ~1000 cometary grains), but but determination of cosmic ray exposure ages of interstellar dust, cometary GEMS/IDPs, and crystalline silicates will be very revealing. Techn
Iowa State - CPRE - 185
Prelab for Lab 2For CprE 185 labs January 22 and 23You should have a basic understanding of variables and how to declare them in C before you come to lab this week. This prelab is meant to help you learn these concepts.References The following re
Iowa State - CPRE - 185
Problems Boolean logic program to review lab 9 o Write a program that will use logical operations to model the following truth table. A B C O 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 1 1 0 0 1 1 0 0Play with structures: o Create a structure
Berkeley - ASTRO - 00177408
-55.955000 -42.915000 148.22206 47.985281 -42.915000 -34.765000 203.50748 60.794655 -34.765000 -20.095000 138.50015 45.039814 -20.095000 -7.0550000 159.26452
Berkeley - ASTRO - 00177408
-55.955000 -42.915000 148.22206 47.985281 -42.915000 -34.765000 203.50748 60.794655 -34.765000 -20.095000 138.50015 45.039814 -20.095000 -7.0550000 159.26452
Berkeley - ASTRO - 00177408
# Time [days] Mag Magerr Band Uplim Ref 0.00120 19.5 -0.2 V yes GCN4516 0.00138 18 -0.2 V yes GCN4509 0.00377 20.4 -0.2 B yes GCN4516 0.0
Berkeley - ASTRO - 00177408
360.288 -0.2 0 no GCN4510 1139.62 19.1 0.5 Rc no 1735.78 18.1 0.2 none yes 2039.9 19.2 0.4 Rc no 2879.71 19.1 0
Berkeley - ASTRO - 00177408
360.288 5.139853e+03 0.000000e+00 no GCN4510 1139.62 9.793788e-05 4.510206e-05 Rc no 1735.78 2.460088e-04 4.531650e-05 none yes 2039.9 8.932041e-05 3.290686e-05
Berkeley - ASTRO - 00177408
1735.78 2.460088e-04 4.531650e-05 none yes 2879.71 9.793788e-05 1.804082e-05 Rc yes 42120 3.555910e-04 6.550228e-05 R yes 48960.3 1.073868e-05 1.978137e-06
Berkeley - ASTRO - 00177408
11.410000 34.230003 4.8801518 0.15476824 25.162871 34.230003 55.420002 -7.1583672 3.4018788 327.59974 55.420002 84.760002 15.829904 -2.3030588 299.73961
Berkeley - ASTRO - 00177408
11.4100 34.2300 -0.697075 0.799869 34.2300 55.4200 6.68627 1.05591 55.4200 84.7600 -3.93089 0.648640 84.7600 141.810 9.20444 1.45795 141.810 146.700 27.497
Berkeley - ASTRO - 00177408
chi^2/nu= 277.78127 / 193The fit is rejectable at 99.993871 % Confidence -42.9150 -34.7650 201.17938 -34.7650 -20.0950 219.12440 -20.0950 -7.05500 233.67896 -7.05500 -3.7950
Berkeley - ASTRO - 00177408
<html><head><title>Your NED Search Results</title></head><body background="/pics/NEDbgHelp.gif" bgcolor="#FFFFFF"><center><font size=6 color="#CC3333"><b>N</b></font><font size=4 color="#000000"><b>ASA/IPAC</b></font>&nbsp;<font size=6 color="#CC
Berkeley - ASTRO - 00177408
120.556 121.049 45.8159 10.81121.049 121.336 39.0268 12.7458121.336 121.994 48.5438 9.27936121.994 122.412 49.6199 11.6955122.412 122.716 73.6888 17.0173122.716 123.857 46.1726 6.85523123.857 123.997 80.005 26.129123.997 124.293 42.361 13.6598
Berkeley - ASTRO - 00177408
Source Contamination: 5.26E-08 +/- 1.5E-08 cts/s
Berkeley - ASTRO - 00177408
#ra dec hmag dhmag053.962761 17.109814 13.829 0.025053.944143 17.116085 16.804 0.137053.989731 17.119774 16.009 0.077053.955925 17.112076 13.050 0.024054.056998 17.110207 12.890 0.025054.025218 17.114105 15.171 0.044054.046284 17.102865
Berkeley - ASTRO - 00177408
;instrument XRT;exposure 64937.415;xunit kev;bintype counts 0.0000000 0.0049999999 13.416170 1.00000 0.0049999999 0.0099999998 13.464069 1.00000 0.0099999998 0.015000000 13.511968 1.0
Berkeley - ASTRO - 00177408
;instrument XRT;exposure 269.05439;xunit kev;bintype counts 0.0000000 0.0049999999 14.516683 1.00000 0.0049999999 0.0099999998 14.568504 1.00000 0.0099999998 0.015000000 14.620325 1.0
Berkeley - ASTRO - 00177408
#ra dec rmag drmag54.22221817.13006516.2050.00553.98003217.11030819.2820.07054.22023517.10499716.2420.00554.26303917.10549519.6410.09854.28926317.10327016.6720.00754.28071717.10326216.8100.00853.83690717.09809516.8320.008
Berkeley - ASTRO - 00177408
chi^2/nu= 90.229770 / 328.000The fit is rejectable at 2.1718713e-40 % Confidence#index t1 t2 fade_index delta_mag_pk hindex dhindex rate1 drate1 rate2 drate2 logr dlogr 0 0.1206 0.2380 -3.01 0.0 0.17 0.08 1.15E+0
Berkeley - ASTRO - 00177408
# t1 t2 hardness error 0.12055600 0.12133600 -0.14044738 0.19090244 0.12133600 0.12199400 0.082234260 0.19072434 0.12199400 0.12271600 0.26708790 0.15921771 0.12271600 0.12385700
Berkeley - ASTRO - 00177408
output00177408000_999/sw00177408000xpcw2po_cl.evtoutput00177408001_999/sw00177408001xpcw2po_cl.evtoutput00177408002_999/sw00177408002xpcw2po_cl.evtoutput00177408003_999/sw00177408003xpcw2po_cl.evtoutput00177408004_999/sw00177408004xpcw2po_cl.evt
Berkeley - ASTRO - 00177408
# t1 t2 dt rad_min rad_max cts err scl bg bg_rat wt 0.120556 0.120813 0.000257 0. 16. 10.60 3.52 0.867841 5.000000 0.279570 1 0.120813 0.121049 0.000237 0. 16. 9.00
Berkeley - ASTRO - 00177408
tmin 2.0695142e-05tmin 0.00011504599
Berkeley - ASTRO - 00177408
tmin 32.099833tmin 181.93968 364.16423 2064.0582 0.20484306 0.033045668 5 2064.0582 46869.069 0.12453600 0.012811805 9tmax 46869.069
Berkeley - ASTRO - 00177408
# t1 t2 dt rad_min rad_max cts err scl bg bg_rat wt 0.120556 0.120813 0.000257 0. 16. 10.60 3.52 0.867841 5.000000 0.279570 1 0.120813 0.121049 0.000237 0. 16. 9.00
Berkeley - ASTRO - 00177408
# tmin tmax 0.254029 468.41556 [ksec];instrument XRT;exposure 60143.753;xunit kev;bintype counts0.000000 0.010000 0.000000 0.0000000.010000 0.020000 0.000000 0.0000000.020000 0.030000 0.000000 0.0000000.030000 0.040000 0.00000
Berkeley - ASTRO - 00177408
# tmin tmax 0.254029 468.41556 [ksec];instrument XRT;exposure 60143.753;xunit kev;bintype counts0.000000 0.010000 0.000000 0.0000000.010000 0.020000 0.000000 0.0000000.020000 0.030000 0.000000 0.0000000.030000 0.040000 0.00000
Berkeley - ASTRO - 00177408
# tmin tmax 0.12055600 5.38475 [ksec];instrument XRT;exposure 266.08283;xunit kev;bintype counts0.000000 0.010000 0.000000 0.0000000.010000 0.020000 0.000000 0.0000000.020000 0.030000 0.000000 0.0000000.030000 0.040000 0.00000
Berkeley - ASTRO - 00177408
# tmin tmax 0.12055600 5.38475 [ksec];instrument XRT;exposure 266.08283;xunit kev;bintype counts0.000000 0.010000 0.000000 0.0000000.010000 0.020000 0.000000 0.0000000.020000 0.030000 0.000000 0.0000000.030000 0.040000 0.00000
Berkeley - ASTRO - 00177408
Wavdetect Sources with S/N>3: # ra dec err ["] signif counts steady? -log10(Prob_steady) 054.03492117.3458570.16673.8725.0 0-323.0 154.10150117.3244240.51014.141.8 1-0.7 254.01671417.2622120.65812.338.3 1-0.1 354.155
Berkeley - ASTRO - 00177408
output00177408000_999/sw00177408000xwtw2po_cl.evtoutput00177408001_999/sw00177408001xwtw2po_cl.evtoutput00177408002_999/sw00177408002xwtw2po_cl.evtoutput00177408003_999/sw00177408003xwtw2po_cl.evtoutput00177408004_999/sw00177408004xwtw2po_cl.evt
Berkeley - ASTRO - 00177408
SIMPLE = T / file does conform to FITS standardBITPIX = 8 / number of bits per data pixelNAXIS = 0 / number of data axesEXTEND = T / FITS dataset may contain extensio
Berkeley - ASTRO - 00177408
# Ep dEp lprob lEiso dlEiso67.040 0.054 3.49e-05 121.421 0.07467.097 0.061 3.07e-04 121.521 0.08467.163 0.070 5.88e-04 121.521 0.08467.238 0.081 8.49e-04 121.521 0.08467.325 0.092 1.10e-03 121.521 0.08467.423 0.106 1.29e-03 121.521 0.08467.537
Berkeley - ASTRO - 00177408
# Ep lEiso37.400 121.94840.123 121.88245.004 121.87446.499 121.58146.920 121.42847.877 121.33148.473 121.58348.868 121.63749.323 121.34449.341 121.34849.662 121.44650.219 121.40150.425 121.54350.808 121.47751.066 121.54551.173 121.583
Berkeley - ASTRO - 00177408
# Ep dEp lprob lNiso dlNiso67.040 0.054 3.49e-05 137.769 0.38167.097 0.061 3.06e-04 137.769 0.38067.163 0.070 5.87e-04 137.769 0.38067.238 0.081 8.65e-04 137.769 0.38067.325 0.092 1.10e-03 137.769 0.38067.423 0.106 1.29e-03 137.769 0.38067.537
Berkeley - ASTRO - 00177408
# Ep lNiso37.362 137.60340.096 137.25245.016 138.22146.520 138.10846.941 137.70147.899 137.88448.495 138.38548.881 138.62249.337 137.33249.355 137.35049.676 137.78350.234 137.58650.440 138.20350.817 137.91451.076 137.64251.182 137.219
Berkeley - ASTRO - 00177408
# x=Log_e(Beaming Fraction) y=Log_e(Egam/10^52 erg) z=Log_e(Tjet/days)# mean(x)= -4.6913 xdown= -5.0763 xup= -4.3622# mean(y)= -2.8349 ydown= -3.4214 yup= -2.2964# mean(z)= 1.8541 zdown= 1.3195 zup= 2.2750-5.9761 -3.7625 0.1152-5.8878 -3.7402
Berkeley - ASTRO - 00177408
Ep=55.60 Chi/nu= 51.27/57 (0.899)