Author Topic: Undocumented word classes  (Read 1525 times)

0 Members and 1 Guest are viewing this topic.

Offline gumby

Undocumented word classes
« on: May 19, 2012, 09:36:19 AM »
As I was working through modifying the vocabulary in my game, I corrupted it again.  This time however, I noticed some word classes that I hadn't seen before, specifically 'conjunction' and 'subordination'.  These do not seem to be documented in the FreeSCI 'SCI Specifications document'.

I was developing in Studio, so I cracked open the source are here is what I found in the ssresdecode.cpp file:

Code: [Select]
  {0x400, "conjunction"},     // "and", "or", "nor", "if", "but"
  {0x800, "subordination"},   // "until", "while", "with", "without" and "for"

When I get a spare moment I will do further investigation.
« Last Edit: May 19, 2012, 10:19:48 AM by gumby »


In the Great Underground Empire (Zork port in development)
Winter Break 2012 Rope Prop Competition

Offline gumby

Re: Undocumented word classes
« Reply #1 on: May 19, 2012, 11:53:08 AM »
I just realized that these classes exist, just not with these labels.  Here's how Studio classifies the words.

Code: [Select]
   {0x000, "noword"},          // Actually exists in SCI games, discovered (11/11/00)
    {0x001, "preposition"},
    {0x002, "article"},
    {0x004, "qualifying adjective"},
    {0x008, "relative pronoun"},
    {0x010, "noun"},
    {0x020, "indicative verb"}, // (such as "is", "went" as opposed to _do_ this or that, which is imperative)
    {0x040, "adverb"},
    {0x080, "imperative verb"},
    {0x400, "conjunction"},     // "and", "or", "nor", "if", "but"
    {0x800, "subordination"},   // "until", "while", "with", "without" and "for"
    {0x4FF, "anyword"}

And here is how the FreeSCI documentation classifies them:
Code: [Select]
0x001 - number (not found in the vocabulary, set internally)
0x002 - special
0x004 - special
0x008 - special[Note 2]
0x010 - preposition
0x020 - article
0x040 - qualifying adjective
0x080 - relative pronoun
0x100 - noun
0x200 - indicative verb (such as "is", "went" as opposed to _do_ this or that, which is imperative)
0x400 - adverb
0x800 - imperative verb

I find it interesting that the comment for the indicative verb is the same in both places which would seem to indicate that set of definitions borrowed from another.
« Last Edit: May 19, 2012, 12:01:00 PM by gumby »
In the Great Underground Empire (Zork port in development)
Winter Break 2012 Rope Prop Competition


SMF 2.0.14 | SMF © 2017, Simple Machines
Simple Audio Video Embedder

Page created in 0.101 seconds with 23 queries.