forked from QuantitativeSemanticsLab/abstractnouns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
writeheader.py
7 lines (6 loc) · 3.38 KB
/
writeheader.py
1
2
3
4
5
6
7
import csv
master = 'master.csv'
f = open(master, 'w')
row = ['Noun', 'Noun Count', 'NN Count', 'NN Percentage', 'NNS Count', 'NNS Percentage', 'NNP Count', 'NNP Percentage', 'NNPS Count', 'NNPS Percentage', 'Plural Noun Count', 'Plural Noun Percentage', 'Singular Noun Count', 'Singular Noun Percentage', 'Bare Plural Noun Count', 'Bare Plural Noun Percentage', 'Bare Singular Noun Count', 'Bare Singular Noun Percentage', 'Linked Noun Count', 'Linked Noun Percentage', 'Noun Negation Count', 'Noun Negation Percentage', 'Verb Construction Count', 'Verb Construction Percentage', 'VB Count', 'VB Percentage', 'VBD Count', 'VBD Percentage', 'VBG Count', 'VBG Percentage', 'VBN Count', 'VBN Percentage', 'VBP Count', 'VBP Percentage', 'VBZ Count', 'VBZ Percentage', 'Plural Verb Count', 'Plural Verb Percentage', 'Singular Verb Count', 'Singular Verb Percentage', 'Verb Subject Count', 'Verb Subject Percentage', 'Unique Verb Subject Count', 'Significant Verb Subjects', 'Significant Verb Subject Count', 'Verb Object Count', 'Verb Object Percentage', 'Unique Verb Object Count', 'Significant Verb Objects', 'Significant Verb Object Count', 'Verb Negation Count', 'Verb Negation Percentage', 'Prepositional Phrase Count', 'Prepositional Phrase Percentage', 'Prepositional Subject Count', 'Prepositional Subject Percentage', 'Unique Prepositional Subject Count', 'Significant Prepositional Subjects', 'Prepositional Object Count', 'Prepositional Object Percentage', 'Unique Prepositional Object Count', 'Significant Prepositional Objects', 'Determiner Count', 'Determiner Percentage', 'Unique Determiner Count', 'Significant Determiners', 'Indefinite Article Count', 'Indefinite Article Percentage', 'Definite Article Count', 'Definite Article Percentage', 'Demonstrative Pronoun Count', 'Demonstrative Pronoun Percentage', 'Quantifier Count', 'Quantifier Percentage', 'Other Determiner Count', 'Other Determiner Percentage', 'Conjoined Count', 'Conjoined Percentage', 'Unique Conjoined Count', 'Significant Conjoined', 'Compound Count', 'Compound Percentage', 'Unique Compound Count', 'Significant Compounds', 'Adjective Count', 'Adjective Percentage', 'Unique Adjective Count', 'Significant Adjectives', 'Possesed Count', 'Possesed Percentage', 'Unique Possesed Count', 'Significant Possesed', 'Possesive Count', 'Possesive Percentage', 'Numeric Count', 'Numeric Percentage', 'Adverb Count', 'Adverb Percentage', 'Appositive Count', 'Appositive Percentage', 'Appositional Modifier Count', 'Appositional Modifier Percentage', 'Unique Appositional Modifier Count', 'Significant Appositional Modifiers', 'Modified Appositive Count', 'Modified Appositive Percentage', 'Unique Modified Appositive Count', 'Significant Modified Appositives', 'Modal Count', 'Modal Percentage', 'Conditional Count', 'Conditional Percentage', 'Denumerator Count', 'Denumerator Percentage', 'Unit Denumerator Count', 'Unit Denumerator Percentage', 'Fuzzy Denumerator Count', 'Fuzzy Denumerator Percentage', 'Other Denumerator Count', 'Other Denumerator Percentage', 'Allan Count', 'Allan Percentage', 'A N Count', 'A N Percentage', 'F Ns Count', 'F Ns Percentage', 'Ex Pl Count', 'Ex Pl Percentage', 'O Den Count', 'O Den Percentage', 'All N Count', 'All N Percentage', 'Countable Count', 'Countable Percentage', 'Uncountable Count', 'Uncountable Percentage', 'Verdical Count', 'Verdical Percentage', 'NonVerdical Count', 'NonVerdical Percentage']
writer = csv.writer(f)
writer.writerow(row)