# header s/// s/<\/kml>/<\/body><\/html>/ # component name # (check this: why do we allow # in name?) s//Specification for '\1'<\/title><\/head><body><a href=\1.spec.kml>view kml<\/a><p><table border=0 bgcolor=black width="100%"><tr><td><font color=white><h1>Concept: <i><b>\1<\/b><\/i><\/font><\/td><\/tr><\/table><\/h1>/ s/<cliche name=\([-_0-9A-Za-z#]*\)>/<head><title>Specification for '\1'<\/title><\/head><body><a href=\1.spec.kml>view kml<\/a><p><h1>Clich\é: \1<\/h1>/ # the rest s/<sme-documentation name=\([-A-Za-z]*\)>/<hr> <a href=\1.doc.spec.html><h3>SME documentation<\/h3><\/a><p>/g s/<superconcept name=\([-_0-9A-Za-z#]*\)>/<h3>Superconcept: <a href=\1.spec.html>\1<\/a><\/h3>/ s/<mixin name=\([-_0-9A-Za-z#]*\)>/<h3>Mixin: <a href=\1.spec.html>\1<\/a><\/h3>/ s/<subevent name=\([-_0-9A-Za-z#]*\)>/<h3>\» Subevent: <a href=\1.spec.html>\1<\/a><\/h3>/ s/<component tag=\([-_0-9A-Za-z#]*\)>/<dl><a name=\1><dt><b>\1<\/b><\/dt><\/a>/ s/<\/component>/<\/dl>/ s/<slot>/<tt><font color=green>/g s/<\/slot>/<\/font><\/tt>/g s/<senselist>/<dl>/ s/<\/senselist>/<\/dl>/ s/<sense tag=\([-_0-9A-Za-z#\.]*\)>/<a name=\1><dt><b>\1<\/b><\/dt><\/a>/ s/<\/sense>// s/<definition>/<dd><i>Definition:<\/i> / s/<\/definition>/<\/dd>/ s/<transitivity>/<dd><i>Transitivity:<\/i> / s/<\/transitivity>/<\/dd>/ s/<requiredslot name=\([-A-Za-z]*\)>/<dd><i>Required slot:<\/i> <tt><font color=green>\1<\/font><\/tt><dl>/ s/<\/requiredslot>/<\/dl><\/dd>/ s/<primaryslot name=\([-A-Za-z]*\)>/<dd><i>Primary slot:<\/i> <tt><font color=green>\1<\/font><\/tt><dl>/ s/<\/primaryslot>/<\/dl><\/dd>/ s/<blockedslot name=\([-A-Za-z]*\)>/<dd><i>Blocked slot:<\/i> <tt><font color=red>\1<\/font><\/tt><dl>/ s/<\/blockedslot>/<\/dl><\/dd>/ s/<inheritedfrom name=\([-A-Za-z]*\)>/<dd><i>Inherited from:<\/i> <a href=\1.spec.html>\1<\/a><\/dd>/ s/<conceptref name=\([-A-Za-z]*\)>/<a href=\1.spec.html>\1<\/a>/g s/<restriction>/<dd><i>Restriction:<\/i> / s/<\/restriction>/<\/dd>/ s/<wnsynsets>/<dd><i>WordNet 1.6 Synsets:<\/i> / s/<\/wnsynsets>/<\/dd>/ s/<musing>/<hr><i>/ s/<\/musing>/<\/i>/ s/<reference source=\(.*\)>/<hr><h3>Reference: \1<\/h3>/ s/<\/reference>// s/<langelement>/<tt>/g s/<\/langelement>/<\/tt>/g s/<term>/<i>/g s/<\/term>/<\/i>/g s/<example>/<dd><i>/ s/<\/example>/<\/i><\/dd>/ s/<comment>/<dd><i>Comment:<\/i> / s/<\/comment>/<\/dd>/ s/<equiv tag={\([-_0-9A-Za-z#]*\), \([-_0-9A-Za-z#]*\), \([-_0-9A-Za-z#]*\), \([-_0-9A-Za-z#]*\)}>/<dd><i>Equivalents:<\/i> <a href=#\1>\1<\/a>, <a href=#\2>\2<\/a>, <a href=#\3>\3<\/a>, <a href=#\4>\4<\/a><\/dd>/ s/<equiv tag={\([-_0-9A-Za-z#]*\), \([-_0-9A-Za-z#]*\), \([-_0-9A-Za-z#]*\)}>/<dd><i>Equivalents:<\/i> <a href=#\1>\1<\/a>, <a href=#\2>\2<\/a>, <a href=#\3>\3<\/a><\/dd>/ s/<equiv tag={\([-_0-9A-Za-z#]*\), \([-_0-9A-Za-z#]*\)}>/<dd><i>Equivalents:<\/i> <a href=#\1>\1<\/a>, <a href=#\2>\2<\/a><\/dd>/ s/<equiv tag=\([-_0-9A-Za-z#]*\)>/<dd><i>Equivalent:<\/i> <a href=#\1>\1<\/a><\/dd>/ # tags introduced for SME documentation s/<concept name=\([-_0-9A-Za-z#]*\)::doc>/<head><title>Documentation for '\1'<\/title><\/head><body><a href=\1.doc.spec.kml>view kml<\/a><p><table border=0 bgcolor=black width="100%"><tr><td><font color=white><h1>Concept: <i><b>\1<\/b><\/i><\/font><\/td><\/tr><\/table><\/h1>/ s/<superconcept name=\([-_0-9A-Za-z#]*\)::doc>/<h3>Superconcept: <a href=\1.doc.spec.html>\1<\/a><\/h3>/ s/<mixin name=\([-_0-9A-Za-z#]*\)::doc>/<h3>Mixin: <a href=\1.doc.spec.html>\1<\/a><\/h3>/ s/<subevent name=\([-_0-9A-Za-z#]*\)::doc>/<h3>\» Subevent: <a href=\1.doc.spec.html>\1<\/a><\/h3>/ s/<inheritedfrom name=\([-A-Za-z]*\)::doc>/<dd><i>Inherited from:<\/i> <a href=\1.doc.spec.html>\1<\/a><\/dd>/ s/<conceptref name=\([-A-Za-z]*\)::doc>/<a href=\1.doc.spec.html>\1<\/a>/g s/<description>/<h3>Description:<\/h3><dl><dd>/ s/<\/description>/<\/dd><\/dl>/ s/<requiredslotlist>/<h3>Required Relationships:<\/h3><dl>/ s/<\/requiredslotlist>/<\/dl>/ s/<slotdescription name=\([-A-Za-z]*\)>/<dd><tt><font color=green>\1<\/font><\/tt>: / s/<\/slotdescription>/<\/dd>/ s/<primaryslotlist>/<h3>Other Common Relationships:<\/h3><dl>/ s/<\/primaryslotlist>/<\/dl>/ s/<subeventlist>/<h3>Subevents:<\/h3><dl>/ s/<\/subeventlist>/<\/dl>/ s/<subeventdescription name=\([-A-Za-z]*\)>/<dd><a href=\1.spec.html><b>\1<\/b><\/a>:/ s/<subeventdescription name=\([-A-Za-z]*\)::doc>/<dd><a href=\1.doc.spec.html><b>\1<\/b><\/a>:/ s/<\/subeventdescription>/<\/dd>/ s/<subeventorder>/<h3>Subevent Order:<\/h3><dl><dd>/ s/<\/subeventorder>/<\/dd><\/dl>/ s/<examplesentencelist>/<h3>Examples:<\/h3><ol>/ s/<\/examplesentencelist>/<\/ol>/ s/<examplesentence>/<li>/ s/<\/examplesentence>/<\/li>/ s/<text>/<i>/ s/<\/text>/<\/i>/ s/<neighborlist>/<h3>Neighboring Concepts:<\/h3><table border=1 cellpadding=3 cellspacing=3><tr bgcolor=#888888><td><font color=white><b><i>Similar to...<\/i><\/b><\/font><\/td><td><font color=white><b><i>But different because...<\/i><\/b><\/font><\/td><\/tr>/ s/<\/neighborlist>/<\/table><p>/ s/<neighbor name=\([-A-Za-z]*\)>/<tr><td valign=top><a href=\1.spec.html>\1<\/a><\/td><td valign=top>/ s/<neighbor name=\([-A-Za-z]*\)::doc>/<tr><td valign=top><a href=\1.doc.spec.html>\1<\/a><\/td><td valign=top>/ s/<\/neighbor>/<\/td><\/tr>/