Pretty Printer

Pretty Printer for the EDR Dictionary: ppedrd.pl (Ver.1.1)

Summary: A CD-ROM contains records that consist only of values of attributes in the format specified for each dictionary. This tool displays records of the EDR Electronic Dictionary stored in the CD-ROM with additional information of attribute names. It reads dictionary data from the standard input, and outputs the results of editting from the standard output. Command Name: ppedrd.pl Specification: Attribute names are displayed in the Japanese language. They can be changed to English if you set the value of the environment variable, VLANG, to "E". Output Format: Contents of the record and explanations of the attribute-values are displayed as follows: -------------------------------------------------------------------------- <Record Number> EWD1123275 <Entry Information> <Headword> divide <Invariable Portion- divid(ELV1,ECV4) Adjacency Attributes Pair> <Syllable Division> "di/vide" <Pronunciation> div'aid <Grammatical Information> <Part of Speech> EVE <Word Form and Inflection Information> ECV4;EVSTM <Sentence Pattern EVDO0;EVDO1 Information> <Semantic Information> <Concept Identifier> 3befb2 <Headconcept> <English Headconcept> divide <Japanese Headconcept> 割る[ワ・ル] <Concept Explication> <English Concept "to do arithmetical or algebraic division" Explication> <Japanese Concept 割り算をする Explication> <Pragmatics and Other Information> <Frequency> 7/176 <Management Information> <Log Record> DATE="89/2/13" .......................................................................... Left Adjacency Attribute ELV1 ... Verbs beginning with a consonant sound Right Adjacency Attribute ECV4 ... Verbs followed by verb endings: -e (infinitive), -es (third person singular), -ed (past and past participle), and -ing (present participle) Part of Speech EVE ... Verb Word Form and Inflection Information ECV4 ... Verbs followed by verb endings: -e (infinitive), -es (third person singular), -ed (past and past participle), and -ing (present participle) Word Form and Inflection Information EVSTM ... Uninflected part Sentence Pattern Information EVDO0 ... Takes a direct object Sentence Pattern Information EVDO1 ... DO = noun phrase (including proper nouns and pronouns) --------------------------------------------------------------------------
Examples: 1) To display contents of the English Word Dictionary of a CD-ROM mounted on "/cdrom" cat /cdrom/EWD.DIC | ppedrd.pl | more 2) To display records that contain only the word "divide" in the English Word Dictionary of a CD-ROM moounted on "/cdrom" grep "divide" /cdrom/EWD.DIC | ppedrd.pl Note: This tool requires the jperl (version 4.019 + 1.3(EUC)) interpreter.
============================================================================ Updating Record: