-
Notifications
You must be signed in to change notification settings - Fork 0
/
word.py
25 lines (24 loc) · 921 Bytes
/
word.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
class Word:
#See documentation (mrc2.doc) for more information regarding each score
def __init__(self, nlet, nphon, nsyl, kffreq, kfcats, kfsamps, tlfreq, bfreq,
fam, conc, imag, meanc, meanp, aoa, numScores):
self.nlet = nlet
self.nphon = nphon
self.nsyl = nsyl
self.kffreq = kffreq
self.kfcats = kfcats
self.kfsamps = kfsamps
self.tlfreq = tlfreq
self.bfreq = bfreq
self.fam = fam
self.conc = conc
self.imag = imag
self.meanc = meanc
self.meanp = meanp
self.aoa = aoa
self.numScores = numScores
def printAll(self):
print("{} {} {} {} {} {} {} {} {} {} {} {} {} {}".format(self.nlet,
self.nphon, self.nsyl, self.kffreq, self.kfcats,
self.kfsamps, self.tlfreq, self.bfreq, self.fam, self.conc,
self.imag, self.meanc, self.meanp, self.aoa))