-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathwriteheader.py
7 lines (6 loc) · 4.86 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', 'Adjtype: Behavior Avg', 'Adjtype: Body Avg', 'Adjtype: Feeling Avg', 'Adjtype: Mind Avg', 'Adjtype: Miscellaneous Avg', 'Adjtype: Motion Avg','Adjtype: Perception Avg','Adjtype: Quantity Avg','Adjtype: Social Avg','Adjtype: Spatial Avg','Adjtype: Substance Avg','Adjtype: Temporal Avg','Adjtype: Weather Avg', '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', 'Sing Subj Plu V Count', 'Sing Subj Plu V 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', "A Count", "A Percentage", "An Count", "An Percentage", "All Count", "All Percentage", "Another Count", "Another Percentage", "Any Count", "Any Percentage", "Both Count", "Both Percentage", "Certain Count", "Certain Percentage", "Each Count", "Each Percentage", "Either Count", "Either Percentage", "Enough Count", "Enough Percentage", "Every Count", "Every Percentage", "Few Count", "Few Percentage", "Little Count", "Little Percentage", "Many Count", "Many Percentage", "Much Count", "Much Percentage", "Neither Count", "Neither Percentage", "No Count", "No Percentage", "One Count", "One Percentage", "Said Count", "Said Percentage", "Several Count", "Several Percentage", "Some Count", "Some Percentage", "Such Count", "Such Percentage", "Sufficient Count", "Sufficient Percentage", "That Count", "That Percentage", "The Count", "The Percentage", "This Count", "This Percentage", "Various Count", "Various Percentage", "We Count", "We Percentage", "Whatever Count", "Whatever Percentage", "Whatsoever Count", "Whatsoever Percentage", "What Count", "What Percentage", "Whichever Count", "Whichever Percentage", "Which Count", "Which Percentage", "You Count", "You Percentage" ]
writer = csv.writer(f)
writer.writerow(row)