4b349d2507b55f1e9d2dd9875b533973445311a0,prosodic/lib/Dictionary.py,Dictionary,make,#Dictionary#Any#Any#,428

Before Change


		(prom_stress,prom_strength)=getStrengthStress(stress)
		syllphons=self.ipa2phons(stressedipa)

		sylls=[]

		for i in range(len(syllphons)):
			syllbody=self.use("SyllableBody",syllphons[i])
			syll=self.use("Syllable",(syllbody,prom_strength[i],prom_stress[i]))
			//print token,i,syllbody,syll,syllphons,stressedipa,stress,prom_stress,prom_strength
			sylls.append(syll)

		word=Word(token,sylls,sylls_text)
		word.ipa=stressedipa
		word.stress=stress
		word.lang=self.lang

After Change


		(prom_stress,prom_strength)=getStrengthStress(stress)
		syllphons=self.ipa2phons(stressedipa)
		syllbodies = [self.syllphon2syll(syllphon,self.lang) for syllphon in syllphons]
		sylls = [Syllable((syllbodies[i],prom_strength[i],prom_stress[i]),self.lang,sylls_text[i]) for i in range(len(syllphons))]

		//
		// sylls=[]
		//
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 12

Instances


Project Name: quadrismegistus/prosodic
Commit Name: 4b349d2507b55f1e9d2dd9875b533973445311a0
Time: 2019-12-21
Author: ryan.heuser@gmail.com
File Name: prosodic/lib/Dictionary.py
Class Name: Dictionary
Method Name: make


Project Name: PacktPublishing/Deep-Reinforcement-Learning-Hands-On
Commit Name: f6fe9f85b6d3cf2809b4383df9e9300f69ca83e8
Time: 2017-10-13
Author: max.lapan@gmail.com
File Name: ch05/01_frozenlake_v_learning.py
Class Name: Agent
Method Name: value_iteration


Project Name: interactiveaudiolab/nussl
Commit Name: 97b74b011d7f4e3a144be6417a7285c0fc91fd72
Time: 2017-09-16
Author: ethanmanilow@gmail.com
File Name: nussl/separation/ica.py
Class Name: ICA
Method Name: run


Project Name: mortendahl/tf-encrypted
Commit Name: ab53601bf0618a1bd245235f3e657b56644bc065
Time: 2018-09-11
Author: justinpatriquin@gmail.com
File Name: tensorflow_encrypted/tensor/int100.py
Class Name:
Method Name: stack