{"id":78,"date":"2010-02-11T07:35:59","date_gmt":"2010-02-11T12:35:59","guid":{"rendered":"http:\/\/ling.bu.edu\/blogs\/lx500a1s10\/?page_id=78"},"modified":"2010-02-23T00:47:22","modified_gmt":"2010-02-23T05:47:22","slug":"childes-lab","status":"publish","type":"page","link":"http:\/\/ling-blogs.bu.edu\/lx500a1s10\/childes-lab\/","title":{"rendered":"CHILDES lab"},"content":{"rendered":"<p>This lab is due <b>February 25<\/b>.<\/p>\n<p>To do this lab you will need access to the CHILDES data and the CLAN analysis program. The analysis programs can be used either online or locally (available on Mac, Windows, and some flavor of Unix). The description here will be primarily for the <a href=\"http:\/\/childes.psy.cmu.edu\/browser\/\">CHILDES transcript browser<\/a> (\u00e2\u20ac\u0153CTB\u00e2\u20ac\u009d) interface. (Another online option is the more bare-bones <a href=\"http:\/\/childes.psy.cmu.edu\/webclan\/clan.php\">WebCLAN<\/a> interface).<\/p>\n<p>On this page, you will find information on:<\/p>\n<ul>\n<li><a href=\"#clanversion\">Picking a version of CLAN to use.<\/a><\/li>\n<li><a href=\"#findnina\">Locating Nina\u00e2\u20ac\u2122s transcripts with the CHILDES transcript browser.<\/a><\/li>\n<li><a href=\"#claninstruction\">The structure of a CLAN instruction.<\/a><\/li>\n<li><a href=\"#assignment\">Your lab assignment.<\/a><\/li>\n<li><a href=\"#combonotes\">Notes on the combo command.<\/a><\/li>\n<\/ul>\n<p><em>(The task you\u00e2\u20ac\u2122ll be doing in this lab assignment was originally formulated by <a href=\"http:\/\/people.ucalgary.ca\/~mcginnis\/\" target=\"_blank\">Martha McGinnis<\/a>, U. Calgary)<\/em><\/p>\n<h2>Picking a version of CLAN to use<\/h2>\n<p><a name=\"clanversion\" id=\"clanversion\"><\/a>The CLAN program is really a collection of several different commands that you can execute to analyze your data. There are two ways that you can use it. The simplest is to simply use&nbsp;&nbsp;the <a href=\"http:\/\/childes.psy.cmu.edu\/browser\/\">CHILDES transcript browser<\/a> (\u00e2\u20ac\u0153CTB\u00e2\u20ac\u009d) online, but you can also <a href=\"http:\/\/childes.psy.cmu.edu\/clan\/\">download and install it on your computer<\/a>, along with the corpus we\u00e2\u20ac\u2122ll be working with. Each has advantages and disadvantages, but my advice is to use the online CTB for this assignment, and to download the program and data if you intend to do your course project using CHILDES.<\/p>\n<p>The instructions here will be tailored to the CTB, but you can refer to the notes at the end of this page about using the CLAN program on your own computer for comments on how things differ if you run the program locally, as well as a bit more elaboration on the advantages and disadvantages.<\/p>\n<h2>The structure of a CLAN instruction<\/h2>\n<p><a name=\"claninstruction\" id=\"claninstruction\"><\/a>A CLAN instruction comes in three parts. Here is an example of one such instruction. The first part names the sub-program (or, as I\u00e2\u20ac\u2122ll call it, the \u00e2\u20ac\u0153<b>command<\/b>\u00e2\u20ac\u009d). In the example below it is <code>mlu<\/code>. The <code>mlu<\/code> command computes the MLU (mean length of utterance) from the utterances in a transcript file. You will also be making use of the commands <code>freq<\/code> and <code>combo<\/code> before we are finished. For a more complete description of the available commands, you can consult the <a href=\"http:\/\/childes.psy.cmu.edu\/manuals\/clan.pdf\">CLAN manual<\/a>.<\/p>\n<p><code>mlu +t*CHI nina*<\/code><\/p>\n<p>The second part, after the command, contains the <b>parameters<\/b>. These modify the way in which the command operates. Above, there is one parameter given: <code>+t*CHI<\/code>. Transcripts that are in the standard format (called <a href=\"http:\/\/childes.psy.cmu.edu\/manuals\/chat.pdf\">CHAT<\/a>) are organized into \u00e2\u20ac\u0153tiers\u00e2\u20ac\u009d, and the major tiers represent who is speaking at any given point in the transcript. These major tiers are named with an asterisk as the first character. It is common for *CHI to be the tier assigned to the child. What <code>+t*CHI<\/code> will do in the instruction above is tell the <code>mlu<\/code> command to only consider utterances in the <code>*CHI<\/code> tier (\u00e2\u20ac\u0153<code>+t<\/code>\u00e2\u20ac\u009d stands for \u00e2\u20ac\u0153examine tier\u00e2\u20ac\u009d). That is, you only want the MLU to be computed for the child utterances. You can also examine other tiers (like <code>*MOT<\/code> for \u00e2\u20ac\u0153mother\u00e2\u20ac\u009d, if that\u00e2\u20ac\u2122s what it\u00e2\u20ac\u2122s called in the transcript) in the same way.<\/p>\n<p class=\"caslxwarning\"><b>Important note:<\/b> There must be no spaces in <code>+t*CHI<\/code>. Parameters are separated by spaces, but <code>+t*CHI<\/code> is a single parameter.<\/p>\n<p>The third part of the instruction, <code>nina*<\/code> above, indicates which <b>transcripts<\/b> you wish to process. You can name a particular file (such as <code>nina09.cha<\/code>), or you can use the asterisk as above as a \u00e2\u20ac\u0153wildcard.\u00e2\u20ac\u009d The effect of using <code>nina*<\/code> is that it will process all of the files whose names begin with \u00e2\u20ac\u0153<code>nina<\/code>\u00e2\u20ac\u009d (so, \u00e2\u20ac\u0153<code>nina01.cha<\/code>\u00e2\u20ac\u009d, \u00e2\u20ac\u0153<code>nina02.cha<\/code>\u00e2\u20ac\u009d, and so on).<\/p>\n<p>In the CTB, the command is chosen using a popup menu in the lower left corner of the screen. The parameters and files to analyze are typed into the blank space right next to the popup menu. When you are ready to run the command, you press the <code>Run<\/code> button (or just hit return in the text box). In the list of transcripts that appears in the upper left corner of the screen, you will see a <code>[+]<\/code> symbol after each transcript. Clicking on the <code>[+]<\/code> is a shortcut that will put the name of the transcript at the end of the text in the instruction box.<\/p>\n<p>The result of running a CLAN instruction will be displayed on the right side of the screen. As far as I know, there is no good way to capture this information except to select it, copy it, and paste it into a text editor (Notepad, TextEdit, Word, whatever you prefer).<\/p>\n<h2>Locating Nina\u00e2\u20ac\u2122s transcripts<\/h2>\n<p><a name=\"findnina\" id=\"findnina\"><\/a>In the upper left corner, click <b>Eng-USA<\/b>, then <b>Suppes<\/b>. You should now see several files like <code>nina01.cha<\/code>; these are the transcripts we will be analyzing in this exercise.<\/p>\n<h2>Your assignment<\/h2>\n<p><a name=\"assignment\" id=\"assignment\"><\/a>The lab assignment comes in several parts.<\/p>\n<ul>\n<li>\n    <a href=\"#section1\">Section 1: Sampling subject drop rate.<\/a><\/p>\n<ul>\n<li><a href=\"#part1\">Part 1. Determine Nina\u00e2\u20ac\u2122s age and MLU for files 01-19.<\/a><\/li>\n<li><a href=\"#part2\">Part 2. Determine the word frequencies for two representative files.<\/a><\/li>\n<li><a href=\"#part3\">Part 3. Search the transcripts for the examples.<\/a><\/li>\n<li><a href=\"#part4\">Part 4. Count up and report on the totals.<\/a><\/li>\n<\/ul>\n<p>\n  <\/li>\n<li>\n    <a href=\"#section2\">Section 2: Determine how often subjects are dropped in <em>wh<\/em>-questions.<\/a><\/p>\n<ul>\n<li><a href=\"#part5\">Part 5. Find the <em>wh<\/em>-questions.<\/a><\/li>\n<li><a href=\"#part6\">Part 6. Count up and report on the totals.<\/a><\/li>\n<li><a href=\"#part7\">Part 7. Discuss the comparison with Valian\u00e2\u20ac\u2122s (1991) results.<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>Section 1: Sampling subject drop rate<\/h2>\n<p><a name=\"section1\" id=\"section1\"><\/a>In the first section, we\u00e2\u20ac\u2122ll isolate a common verb in each of a couple of transcripts, and determine how often the subject is omitted, to get some experience with CLAN and to get some baseline information.<\/p>\n<h3>Part 1: Determine Nina\u00e2\u20ac\u2122s age and MLU for files 01-19.<\/h3>\n<p><a name=\"part1\" id=\"part1\"><\/a>Use the <code>mlu<\/code> command to determine the MLU for these transcripts (note that there is no file <code>nina08.cha<\/code>). The command described above should do it. The MLU is the \u00e2\u20ac\u0153ratio of morphemes over utterances.\u00e2\u20ac\u009d To get Nina\u00e2\u20ac\u2122s age, you can look inside each transcript, it is recorded at the top.<\/p>\n<p class=\"caslxholiday\"><b>Hand in<\/b>: A list containing, for each file from nina01.cha to nina19.cha, Nina\u00e2\u20ac\u2122s age from the transcript, and the MLU as computed by the <code>mlu<\/code> command.<\/p>\n<h3>Part 2: Determine the word frequencies for two representative files.<\/h3>\n<p><a name=\"part2\" id=\"part2\"><\/a>We are going to be doing the analysis on two of Nina\u00e2\u20ac\u2122s transcripts, which we will take to be representative. Those two files are <code>nina10.cha<\/code> and <code>nina19.cha<\/code>. The goal of this part is to pick a verb in each of the transcripts that occurs often. Later, we will examine all utterances containing these verbs to count things like the number of null subjects. The <code>freq<\/code> command will search a transcript and count the number of times each word appears, then provide you with a list.<\/p>\n<p>The <code>freq<\/code> command works just like <code>mlu<\/code> did. The parameters are the same. We want to restrict the frequency computation to just the child utterances, and we are looking at just the files <code>nina10.cha<\/code> and <code>nina19.cha<\/code>. (You can if you wish put both file names after the parameters, and it will do the computation on both of them in a single <code>Run<\/code>, or you can do them separately.)<\/p>\n<p>The result should be a list of words along with a count of how many times each word appears in the transcript. To double-check, you should find that there are 21 instances of \u00e2\u20ac\u0153Mommy\u00e2\u20ac\u009d in <code>nina10.cha<\/code> and 2 in <code>nina19.cha<\/code>. These results are sorted alphabetically by word, rather than by most common. In each file, look for verbs, and look for the verbs that are the most frequent. For these purposes, ignore the following verbs: <b>have<\/b>, <b>go<\/b>, <b>want<\/b> (because they can be used as an auxiliary and might behave differently) and <b>see<\/b> (because it so often occurs as \u00e2\u20ac\u0153See?\u00e2\u20ac\u009d which is correct without a subject). Pick the most frequent verb from each file (excluding those just listed).<\/p>\n<p class=\"caslxholiday\"><b>Hand in:<\/b> For each file (<code>nina10.cha<\/code>, <code>nina19.cha<\/code>), the verb you\u00e2\u20ac\u2122ll look at and the number of times it occurs (according to <code>freq<\/code>). Don\u00e2\u20ac\u2122t forget to count all forms (so, not just the 1sg present form, but also the past form and the progressive &#8211;<i>ing<\/i> form). As a check, the forms I picked each have 24 occurrences.<\/p>\n<h3>Part 3: Search the transcripts for the examples.<\/h3>\n<p><a name=\"part3\" id=\"part3\"><\/a>Having picked a common verb from each file, what we\u00e2\u20ac\u2122re going to do is look at each time the verb is used in the transcript and count how often it appears with a subject (the idea being that we can extrapolate this result to estimate overall rates of subject omission).<\/p>\n<p>To perform the search, use the CLAN command <code>combo<\/code> (you might want to refer to the <a href=\"#combonotes\">notes on combo<\/a> at the bottom of this page). You will want to use the <code>-w2<\/code> parameter in order to display the two lines preceding any matches, so you can get an idea of the context in which the matched utterances occur. The context will allow you to determine whether an utterance should be excluded. Here too, be sure you include all forms of the verb (1st present, past tense, <i>-ing<\/i> form, etc.). You can search for more than one form using something like <code>+s\"(see+seeing+saw+seen)\"<\/code> as a parameter.<\/p>\n<p>The results of these searches will be somewhat large. You will want to copy and paste the results into a text file (using whatever you find convenient, e.g., TextEdit, Microsoft Word, whatever you have on hand).<\/p>\n<p class=\"caslxholiday\"><b>Hand in:<\/b> The full <code>combo<\/code> instruction you used (you can copy this from the top of the search result) and the number of matches it returned (you can copy this from the bottom of the search result).<\/p>\n<h3>Part 4: Count up and report on the totals<\/h3>\n<p><a name=\"part4\" id=\"part4\"><\/a>Now, go through each example and decide which of the following categories it falls under. Be sure to read the \u00e2\u20ac\u0153exclusion\u00e2\u20ac\u009d criteria carefully.<\/p>\n<p><b>X. Excluded.<\/b> The utterance is (a) a repetition of an immediately preceding utterance (either by the child or the adults), (b) incomprehensible, (c) part of a rote-learned expression (e.g., \u00e2\u20ac\u0153\u00e2\u20ac\u00a6how I wonder what you are\u00e2\u20ac\u009d), (d) an imperative or infinitive where a subject is not required in the adult language. We do not want to count these because they are not certain to reflect the child\u00e2\u20ac\u2122s productive grammar, or because no subject is required in the adult language.<\/p>\n<p><b>O. Overt subject.<\/b> The verb has an overt (pronounced) subject. I include among these cases where there is a modal (like <i>will<\/i>) or auxiliary (like <i>am<\/i> or <i>don\u00e2\u20ac\u2122t<\/i> or <i>go<\/i>) before the verb.<\/p>\n<p><b>N. Null subject.<\/b> The verb should have had a subject, but the subject is missing.<\/p>\n<p><b>F. Fragment.<\/b> These look a lot like null subjects, but if a child answers a question like \u00e2\u20ac\u0153what are you doing?\u00e2\u20ac\u009d with \u00e2\u20ac\u0153Eating sandwiches\u00e2\u20ac\u009d, it isn\u00e2\u20ac\u2122t accurate to call that a null subject utterance. However, in response to \u00e2\u20ac\u0153What were the monkeys eating?\u00e2\u20ac\u009d, \u00e2\u20ac\u0153Eating a balloon\u00e2\u20ac\u009d should count as a null subject (not as a fragment), since this is not a well-formed fragment in adult speech. We will exclude these from the analysis, but you might as well differentiate them from the X category.<\/p>\n<p class=\"caslxholiday\"><b>Hand in:<\/b> Create a 2&#215;3 table of results (2 rows and 3 columns) like the one below. Fill in the overt and null subject numbers for each file. In the third column, compute the percentage of included utterances for each file that have overt subjects (divide the number of overt subjects by the sum of both overt and missing subjects, and then multiply by 100).<\/p>\n<p class=\"caslxholiday\"><b>Hand in: Write a couple of sentences that describe the results in the table.<\/b><\/p>\n<table>\n<tbody>\n<tr>\n<td><\/td>\n<td>null subjects<\/td>\n<td>overt subjects<\/td>\n<td>percentage with overt subjects<\/td>\n<\/tr>\n<tr>\n<td>nina10.cha<\/td>\n<td>N<\/td>\n<td>O<\/td>\n<td>100*O\/(N+O)<\/td>\n<\/tr>\n<tr>\n<td>nina19.cha<\/td>\n<td>N<\/td>\n<td>O<\/td>\n<td>100*O\/(N+O)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Section 2: Determine how often subjects are dropped in <em>wh<\/em>-questions<\/h2>\n<p><a name=\"section2\" id=\"section2\"><\/a>In this section, we will look specifically at <em>wh<\/em>-questions to see what difference, if any, there is in the number of subjects omitted.<\/p>\n<h3>Part 5: Find the <em>wh<\/em>-questions<\/h3>\n<p><a name=\"part5\" id=\"part5\"><\/a>We\u00e2\u20ac\u2122re going to use CLAN to study Nina\u00e2\u20ac\u2122s use of subject drop in <em>wh<\/em>-questions, over two different time periods. So, first we need to find the <em>wh<\/em>-questions. We want to be sure we get all of them (including, e.g., \u00e2\u20ac\u0153what\u00e2\u20ac\u2122s\u00e2\u20ac\u009d), so you can use the following search string as one of the parameters.<\/p>\n<p><code>+s\"(who*+what*+when*+how*+why*+where*+whose+which)\"<\/code><\/p>\n<p>Do two separate searches. Do the first search on transcripts 01-09, and the second search on transcripts 10-19. When you do these searches, you will get a large result, which you will want to copy into a text file.<\/p>\n<p class=\"caslxholiday\"><b>Hand in:<\/b> The two CLAN instructions you used to do the searches, and the number of matches for the last file in each search (that is, give me the number of matches in <code>nina09.cha<\/code> and <code>nina19.cha<\/code>).<\/p>\n<h3>Part 6: Count up and report on the totals<\/h3>\n<p><a name=\"part6\" id=\"part6\"><\/a>What we care about here are <em>wh<\/em>-questions where the <em>wh<\/em>-word is not the subject, and among those we will count the number of overt and missing subjects. So, omit from consideration all of those <em>wh<\/em>-questions (a) where the <em>wh<\/em>-word is the subject, (b) which are direct repetitions of a previous utterance, and (c) where the classification cannot be determined.<\/p>\n<p>You will see a lot of examples like: \u00e2\u20ac\u0153What\u00e2\u20ac\u2122s that?\u00e2\u20ac\u009d Let\u00e2\u20ac\u2122s consider this to be derived from \u00e2\u20ac\u0153That is what\u00e2\u20ac\u009d, so \u00e2\u20ac\u0153that\u00e2\u20ac\u009d is the subject (and it is overt), and \u00e2\u20ac\u0153what\u00e2\u20ac\u009d is the object. Same for \u00e2\u20ac\u0153where\u00e2\u20ac\u2122s my candy\u00e2\u20ac\u009d, \u00e2\u20ac\u0153who\u00e2\u20ac\u2122s that\u00e2\u20ac\u009d.<\/p>\n<p class=\"caslxholiday\"><b>Hand in:<\/b> Create a 2&#215;3 table of results (2 rows and 3 columns) like the one below. Fill in the overt and null subject numbers for each set of files. In the third column, compute the percentage of included utterances for each range of files that have overt subjects (divide the number of overt subjects by the sum of both overt and missing subjects, and then multiply by 100).<\/p>\n<p class=\"caslxholiday\"><b>Hand in: Write a couple of sentences that describe the results in the table.<\/b><\/p>\n<table>\n<tbody>\n<tr>\n<td><\/td>\n<td>non-subject, wh-word,<br \/>null subject<\/td>\n<td>non-subject, wh-word,<br \/>overt subject<\/td>\n<td>Percentage of wh-questions<br \/>with overt subjects<\/td>\n<\/tr>\n<tr>\n<td>Early transcripts (01-09)<\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>Late transcripts (10-19)<\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Part 7. Discuss the comparison with Valian\u00e2\u20ac\u2122s (1991) results.<\/h3>\n<p><a name=\"part7\" id=\"part7\"><\/a>Consider the tables below, from O\u00e2\u20ac\u2122Grady (1997), based on data from Valian (1991). They show overall percentages of dropped subjects in general, not just in (non-subject) <em>wh<\/em>-questions.<\/p>\n<table>\n<tbody>\n<tr>\n<td class=\"caslxholiday\">Group<\/td>\n<td class=\"caslxholiday\">No. of children<\/td>\n<td class=\"caslxholiday\">Age range<\/td>\n<td class=\"caslxholiday\">MLU<\/td>\n<\/tr>\n<tr>\n<td class=\"caslxholiday\">I<\/td>\n<td>5<\/td>\n<td>1;10 &#8211; 2;2<\/td>\n<td>1.53 &#8211; 1.99<\/td>\n<\/tr>\n<tr>\n<td class=\"caslxholiday\">II<\/td>\n<td>5<\/td>\n<td>2;3 &#8211; 2;8<\/td>\n<td>2.24 &#8211; 2.76<\/td>\n<\/tr>\n<tr>\n<td class=\"caslxholiday\">III<\/td>\n<td>8<\/td>\n<td>2;3 &#8211; 2;6<\/td>\n<td>3.07 &#8211; 3.72<\/td>\n<\/tr>\n<tr>\n<td class=\"caslxholiday\">IV<\/td>\n<td>3<\/td>\n<td>2;6 &#8211; 2;8<\/td>\n<td>4.12 &#8211; 4.38<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Table 1. English-speaking children in Valian\u00e2\u20ac\u2122s study (based on Valian 1991:38)<\/p>\n<table>\n<tbody>\n<tr>\n<td class=\"caslxholiday\">Group<\/td>\n<td class=\"caslxholiday\">Mean<\/td>\n<td class=\"caslxholiday\">Range<\/td>\n<\/tr>\n<tr>\n<td class=\"caslxholiday\">I<\/td>\n<td>69%<\/td>\n<td>55-82%<\/td>\n<\/tr>\n<tr>\n<td class=\"caslxholiday\">II<\/td>\n<td>89%<\/td>\n<td>84-94%<\/td>\n<\/tr>\n<tr>\n<td class=\"caslxholiday\">III<\/td>\n<td>93%<\/td>\n<td>87-99%<\/td>\n<\/tr>\n<tr>\n<td class=\"caslxholiday\">IV<\/td>\n<td>95%<\/td>\n<td>92-95%<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Table 2. Proportion of utterances containing a subject (based on Valian 1991:44-45)<\/p>\n<p class=\"caslxholiday\"><b>Hand in:<\/b> Describe how your results on subject omission for the verbs you chose in <a href=\"#part4\">part 4<\/a> compare with what Valian found. Mention things like whether you found more or less omission than Valian found, and pay particular attention to the groups of children whose age and\/or MLU match the transcript you are looking at.<\/p>\n<p class=\"caslxholiday\"><b>Hand in:<\/b> Describe how your results on subject omission in <em>wh<\/em>-questions (from <a href=\"#part5\">part 5<\/a>) compare to the overall rate of subject omission. Mention things like whether subjects are dropped more often or less often in <em>wh<\/em>-questions.<\/p>\n<p class=\"caslxholiday\"><b>Hand in:<\/b> Consider your results in light of the hypothesis that \u00e2\u20ac\u0153topic drop\u00e2\u20ac\u009d accounts for some of the cases of subject omission in Child English (cf. comments about Bromberg &amp; Wexler 1995 from the class handouts). Do your results support this hypothesis? Briefly explain why or why not.<\/p>\n<h4>References<\/h4>\n<p>O\u00e2\u20ac\u2122Grady, William (1997). <em>Syntactic Development<\/em>. Chicago: University of Chicago Press.<\/p>\n<p>Valian, Virginia (1991). Syntactic subjects in the early speech of American and Italian children. <em>Cognition<\/em> 35:105-22.<\/p>\n<h2>Comments on combo<\/h2>\n<p><a name=\"combonotes\" id=\"combonotes\"><\/a>CLAN includes a relatively powerful searching tool called <code>combo<\/code>. I will outline a couple of points here, although you should probably refer to the <a href=\"http:\/\/childes.psy.cmu.edu\/manuals\/clan.pdf\">CLAN manual<\/a> for more information.<\/p>\n<p>An example of a <code>combo<\/code> instruction is given below:<\/p>\n<p><code>combo +t*CHI +w2 -w2 +s\"what^my\" nina* &gt; whatmy.txt<\/code><\/p>\n<p>This command says:<\/p>\n<ul>\n<li><code>combo<\/code>: the command<\/li>\n<li><code>+t*CHI<\/code>: restrict attention to the lines uttered by the child<\/li>\n<li><code>+w2<\/code>: show me the line you find and 2 lines after it.<\/li>\n<li><code>-w2<\/code>: show me the line you find and two lines before it.<\/li>\n<li><code>+s\"what^my\"<\/code>: search for <code>what<\/code> followed directly by <code>my<\/code>.<\/li>\n<li><code>nina*<\/code>: search all of the files in the <strong>Working<\/strong> directory that begin with <code>nina<\/code>.<\/li>\n<li><code>&gt; whatmy.txt<\/code>: Save the results in a file called <code>whatmy.txt<\/code> in the <strong>Output<\/strong> directory. (Note: this part of the instruction is only applicable to running CLAN on your own computer)<\/li>\n<\/ul>\n<p>This will look for <code>what<\/code> immediately followed by <code>my<\/code> in any of the <code>nina<\/code> files, returning something like this:<\/p>\n<p><code>*** File \"Moxie:CLAN:suppes:nina19.cha\": line 254.<br \/>\n*CHI: I want to play with you here .<br \/>\n*CHI: look what my got .<br \/>\n*CHI: look (1)what (1)my got .<br \/>\n*MOT: I see what you got .<br \/>\n*MOT: what did you get ?<\/code><\/p>\n<p>You can see that we used the \u00e2\u20ac\u0153<code>^<\/code>\u00e2\u20ac\u009d character in the search string. This character means \u00e2\u20ac\u0153immediately followed by\u00e2\u20ac\u009d, so what we searched for was <code>what<\/code> immediately followed by <code>my<\/code>. In these search strings there are several other special characters that you can use.<\/p>\n<ul>\n<li>\n    <code>x^y<\/code><\/p>\n<ul>\n<li>Finds <code>x<\/code> immediately followed by <code>y<\/code>. <code>x<\/code> and <code>y<\/code> are full words (bounded by spaces).<\/li>\n<\/ul>\n<\/li>\n<li>\n    <code>*<\/code><\/p>\n<ul>\n<li>Finds anything<\/li>\n<\/ul>\n<\/li>\n<li>\n    <code>_<\/code><\/p>\n<ul>\n<li>Finds any one character (that is an underline character)<\/li>\n<\/ul>\n<\/li>\n<li>\n    <code>x+y<\/code><\/p>\n<ul>\n<li>Finds <code>x<\/code> or <code>y<\/code><\/li>\n<\/ul>\n<\/li>\n<li>\n    <code>!x<\/code><\/p>\n<ul>\n<li>Finds anything except <code>x<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>You can combine these in various ways to get useful effects. A couple of common things you might use are:<\/p>\n<ul>\n<li>\n    <code>x^*^y<\/code><\/p>\n<ul>\n<li>Finds <code>x<\/code> eventually followed by <code>y<\/code> (unlike with <code>x^y<\/code>, <code>y<\/code> does not need to immediately follow <code>x<\/code>). Literally this means, search for <code>x<\/code>, immediately followed by anything, immediately followed by <code>y<\/code>.<\/li>\n<\/ul>\n<\/li>\n<li>\n    <code>*ing<\/code><\/p>\n<ul>\n<li>Finds anything that ends in <code>ing<\/code>. For example, verbs like <i>swimming<\/i>. Of course it will also get some irrelevant things like <i>thing<\/i>, <i>boring<\/i>, etc.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Some example combo commands are<\/p>\n<p><code>combo +t*CHI +w2 -w2 +s\"the^*^!grey^*^(dog+cat)\" nina*<\/code><\/p>\n<p>This will search for <code>the<\/code> followed eventually (<code>^*^<\/code> means \u00e2\u20ac\u0153followed by anything followed by\u00e2\u20ac\u00a6\u00e2\u20ac\u009d) by something other than <code>grey<\/code> (<code>!grey<\/code> means \u00e2\u20ac\u0153not <code>grey<\/code>\u00e2\u20ac\u009d), followed eventually by either <code>dog<\/code> or <code>cat<\/code> (<code>dog+cat<\/code> means \u00e2\u20ac\u0153either <code>dog<\/code> or <code>cat<\/code>\u00e2\u20ac\u009d). It will not find <code>the grey cat<\/code> but it will find <code>the black cat<\/code>, <code>the big red dog<\/code>, etc.<\/p>\n<p><code>combo +t*CHI +w2 -w2 +s\"my^*^*ing\" nina*<\/code><\/p>\n<p>This will search for all instances of <code>my<\/code> followed eventually by something that ends in <code>ing<\/code>. If you are running CLAN on your own computer, you can use a \u00e2\u20ac\u0153search\u00e2\u20ac\u009d file instead of typing in the thing you are searching for each time. The \u00e2\u20ac\u0153search\u00e2\u20ac\u009d file is a text file that contains the things you want to search for, one item per line. <code>combo<\/code> will match if an item from any line is found.<\/p>\n<p>If the file containing your search items is called <code>search-1pron.txt<\/code> in your Working directory, then you could do the search with the following <code>combo<\/code> instruction, where the <code>@<\/code> tells <code>combo<\/code> to look in your file for the list of things to search for.<\/p>\n<p><code>combo +t*CHI +w2 -w2 +s@search-1pron.txt nina* &gt; pron1-nina.txt<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This lab is due February 25. To do this lab you will need access to the CHILDES data and the CLAN analysis program. The analysis programs can be used either online or locally (available on Mac, Windows, and some flavor of Unix). The description here will be primarily for the CHILDES transcript browser (\u00e2\u20ac\u0153CTB\u00e2\u20ac\u009d) interface. &#8230;<\/p>\n<p><a href=\"http:\/\/ling-blogs.bu.edu\/lx500a1s10\/childes-lab\/\" class=\"more-link\">Continue reading &lsquo;CHILDES lab&rsquo; &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-78","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/ling-blogs.bu.edu\/lx500a1s10\/wp-json\/wp\/v2\/pages\/78","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/ling-blogs.bu.edu\/lx500a1s10\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/ling-blogs.bu.edu\/lx500a1s10\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/ling-blogs.bu.edu\/lx500a1s10\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/ling-blogs.bu.edu\/lx500a1s10\/wp-json\/wp\/v2\/comments?post=78"}],"version-history":[{"count":26,"href":"http:\/\/ling-blogs.bu.edu\/lx500a1s10\/wp-json\/wp\/v2\/pages\/78\/revisions"}],"predecessor-version":[{"id":125,"href":"http:\/\/ling-blogs.bu.edu\/lx500a1s10\/wp-json\/wp\/v2\/pages\/78\/revisions\/125"}],"wp:attachment":[{"href":"http:\/\/ling-blogs.bu.edu\/lx500a1s10\/wp-json\/wp\/v2\/media?parent=78"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}