<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://sciwiki.sierrahelp.com/index.php?action=history&amp;feed=atom&amp;title=Special_Word_Classes</id>
	<title>Special Word Classes - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://sciwiki.sierrahelp.com/index.php?action=history&amp;feed=atom&amp;title=Special_Word_Classes"/>
	<link rel="alternate" type="text/html" href="http://sciwiki.sierrahelp.com/index.php?title=Special_Word_Classes&amp;action=history"/>
	<updated>2026-08-25T08:37:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.9</generator>
	<entry>
		<id>http://sciwiki.sierrahelp.com/index.php?title=Special_Word_Classes&amp;diff=344&amp;oldid=prev</id>
		<title>Andrew Branscom: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://sciwiki.sierrahelp.com/index.php?title=Special_Word_Classes&amp;diff=344&amp;oldid=prev"/>
		<updated>2013-08-05T21:45:46Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:45, 5 August 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Andrew Branscom</name></author>
	</entry>
	<entry>
		<id>http://sciwiki.sierrahelp.com/index.php?title=Special_Word_Classes&amp;diff=343&amp;oldid=prev</id>
		<title>Andrew Branscom at 02:40, 12 May 2011</title>
		<link rel="alternate" type="text/html" href="http://sciwiki.sierrahelp.com/index.php?title=Special_Word_Classes&amp;diff=343&amp;oldid=prev"/>
		<updated>2011-05-12T02:40:49Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;By Gumby&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Here are the words that utilize &amp;#039;special&amp;#039; word classes (0x002, x004 &amp;amp; x008) in the vocab in the template game (I suppose we should check some of Sierra&amp;#039;s games to make sure none have been missed).  From the SCI specs, in the parser section,  footnote 2:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background-color: lightgrey; border: solid thin grey;&amp;quot;&amp;gt;&lt;br /&gt;
The three special classes are apparently used for words with very specific semantics, such as &amp;quot;if&amp;quot;, &amp;quot;not&amp;quot;, &amp;quot;and&amp;quot; etc. It is unknown as of yet whether they receive special treatment by the parser.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here are the ones known to us (note that class 0x002 is not referenced)&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; width=&amp;quot;120&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
! align=&amp;quot;left&amp;quot; valign=&amp;quot;top&amp;quot; | Word&lt;br /&gt;
! align=&amp;quot;left&amp;quot; valign=&amp;quot;top&amp;quot; | Word Class&lt;br /&gt;
|- &lt;br /&gt;
| valign=&amp;quot;top&amp;quot;  | and&lt;br /&gt;
| valign=&amp;quot;top&amp;quot;  | 004&lt;br /&gt;
|- &lt;br /&gt;
| valign=&amp;quot;top&amp;quot;  | but&lt;br /&gt;
| valign=&amp;quot;top&amp;quot;  | 004&lt;br /&gt;
|- &lt;br /&gt;
| valign=&amp;quot;top&amp;quot;  | if&lt;br /&gt;
| valign=&amp;quot;top&amp;quot;  | 004&lt;br /&gt;
|- &lt;br /&gt;
| valign=&amp;quot;top&amp;quot;  | nor&lt;br /&gt;
| valign=&amp;quot;top&amp;quot;  | 004&lt;br /&gt;
|- &lt;br /&gt;
| valign=&amp;quot;top&amp;quot;  | or&lt;br /&gt;
| valign=&amp;quot;top&amp;quot;  | 004&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot;  | and&lt;br /&gt;
| valign=&amp;quot;top&amp;quot;  | 004&lt;br /&gt;
|- &lt;br /&gt;
| valign=&amp;quot;top&amp;quot;  | about&lt;br /&gt;
| valign=&amp;quot;top&amp;quot;  | 008&lt;br /&gt;
|- &lt;br /&gt;
| valign=&amp;quot;top&amp;quot;  | for&lt;br /&gt;
| valign=&amp;quot;top&amp;quot;  | 008&lt;br /&gt;
|- &lt;br /&gt;
| valign=&amp;quot;top&amp;quot;  | until&lt;br /&gt;
| valign=&amp;quot;top&amp;quot;  | 008&lt;br /&gt;
|- &lt;br /&gt;
| valign=&amp;quot;top&amp;quot;  | while&lt;br /&gt;
| valign=&amp;quot;top&amp;quot;  | 008&lt;br /&gt;
|- &lt;br /&gt;
| valign=&amp;quot;top&amp;quot;  | with&lt;br /&gt;
| valign=&amp;quot;top&amp;quot;  | 008&lt;br /&gt;
|- &lt;br /&gt;
| valign=&amp;quot;top&amp;quot;  | without&lt;br /&gt;
| valign=&amp;quot;top&amp;quot;  | 008&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
I believe that these words must be handled specially by the parser, otherwise why wouldn&amp;#039;t they just have a &amp;#039;compound&amp;#039; (or multiple) class like other words?  Unless the &amp;#039;special&amp;#039; moniker is just a subclass of a compound class - for example I was thinking that perhaps the 008 class could be a preposition/adjective class.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;CodeBlockHeader&amp;quot;&amp;gt;Examples:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sci&amp;quot; class=&amp;quot;cs&amp;quot;&amp;gt;&lt;br /&gt;
take ball with stripes      // &amp;#039;With&amp;#039; is an adjective (or noun)&lt;br /&gt;
dance with troll            // &amp;#039;With&amp;#039; is a preposition&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
However, in my mind a word class of 050 would work just as well (010 (prep) + 040 (adj) = 050) - or if you like a class of 110 (010 (prep) + 100 (noun) = 110).&lt;br /&gt;
&lt;br /&gt;
====The 008 class (with, without, etc)====&lt;br /&gt;
I ran across an oddity regarding the 008 class &amp;amp; articles.  Note that in the below examples, an unmodified, &amp;#039;stock&amp;#039; vocab was used from a template game, where &amp;#039;with&amp;#039; was defined only with a 008 class (and &amp;#039;the&amp;#039; is simply an article).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;CodeBlockHeader&amp;quot;&amp;gt;Code:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sci&amp;quot; class=&amp;quot;cs&amp;quot;&amp;gt;&lt;br /&gt;
// works with any 008 word - &amp;#039;cut boat with knife&amp;#039;&lt;br /&gt;
  (if(Said(&amp;#039;cut/boat/knife&amp;#039;))&lt;br /&gt;
      Print(&amp;quot;cut boat with knife OR cut boat without knife OR ...&amp;quot;)		&lt;br /&gt;
  )	&lt;br /&gt;
	&lt;br /&gt;
// &amp;#039;cut knife the boat&amp;#039; &lt;br /&gt;
  (if(Said(&amp;#039;cut/boat/knife&amp;#039;))&lt;br /&gt;
      Print(&amp;quot;cut knife the boat&amp;quot;)		&lt;br /&gt;
  )	&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Okay, I guess I&amp;#039;m good with that...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;CodeBlockHeader&amp;quot;&amp;gt;Code:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sci&amp;quot; class=&amp;quot;cs&amp;quot;&amp;gt;&lt;br /&gt;
// works with &amp;#039;with&amp;#039; only: &amp;#039;cut boat with knife&amp;#039; - does not work with &amp;#039;cut knife the boat&amp;#039;&lt;br /&gt;
  (if(Said(&amp;#039;cut/boat/knife[&amp;lt;with]&amp;#039;))&lt;br /&gt;
      Print(&amp;quot;cut boat with knife&amp;quot;)		&lt;br /&gt;
  )&lt;br /&gt;
&lt;br /&gt;
// works with &amp;#039;cut knife the boat&amp;#039; - does not work with &amp;#039;cut boat with knife&amp;#039;&lt;br /&gt;
  (if(Said(&amp;#039;cut/boat/knife[&amp;lt;the]&amp;#039;))&lt;br /&gt;
      Print(&amp;quot;cut knife the boat&amp;quot;)		&lt;br /&gt;
  )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Interesting, we can limit that only &amp;#039;the&amp;#039; or &amp;#039;with&amp;#039; is to be used (optionally).  Good!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;CodeBlockHeader&amp;quot;&amp;gt;Code:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sci&amp;quot; class=&amp;quot;cs&amp;quot;&amp;gt;&lt;br /&gt;
// works with &amp;#039;cut boat with knife&amp;#039;&lt;br /&gt;
  (if(Said(&amp;#039;cut/boat/knife&amp;lt;with&amp;#039;))&lt;br /&gt;
      Print(&amp;quot;cut boat with knife&amp;quot;)		&lt;br /&gt;
  )&lt;br /&gt;
&lt;br /&gt;
// &amp;#039;cut knife the boat&amp;#039; - does NOT work!!&lt;br /&gt;
  (if(Said(&amp;#039;cut/boat/knife&amp;lt;the&amp;#039;))&lt;br /&gt;
      Print(&amp;quot;You should not see this output&amp;quot;)		&lt;br /&gt;
  )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Whaaaat?  I can&amp;#039;t use &amp;#039;the&amp;#039; in my said string explicitly?  I suppose if you don&amp;#039;t want &amp;#039;with&amp;#039; to be used (or any other 008 classed word) &amp;amp; only &amp;#039;the&amp;#039; to be used, you&amp;#039;ll need to slap the optional brackets (&amp;#039;[&amp;#039; and &amp;#039;]&amp;#039;) around it (see the 2nd code example).&lt;br /&gt;
&lt;br /&gt;
The take-away from this (I suppose) is how to use &amp;#039;with&amp;#039; correctly.  It appears from my testing that it can only be used upon the &amp;#039;suffix&amp;#039; part of the said string coupled with the semantic operator (&amp;lt;).&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
[[Category:The SCI Parser]]&lt;br /&gt;
[[Category:Examples]]&lt;/div&gt;</summary>
		<author><name>Andrew Branscom</name></author>
	</entry>
</feed>