aa729991dc1235b84a1fab1825ba4cd49d62e5f1,xh/evaluate_pronunciation_rules.py,,,#,82

Before Change


  assert 3 <= len(sys.argv) <= 4
  xltor = GetPronunciationRules(sys.argv[1], "xh-xh_FONIPA")
  mapping = GetSampaToIpaMapping(sys.argv[2])
  if len(sys.argv) > 3:
    TestPronunciationRules(xltor, mapping, sys.argv[3])
  else:
    ApplyPronunciationRules(xltor, mapping)

After Change




if __name__ == "__main__":
  main(sys.argv)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 7

Instances


Project Name: google/language-resources
Commit Name: aa729991dc1235b84a1fab1825ba4cd49d62e5f1
Time: 2016-01-08
Author: mjansche@google.com
File Name: xh/evaluate_pronunciation_rules.py
Class Name:
Method Name:


Project Name: google/language-resources
Commit Name: aa729991dc1235b84a1fab1825ba4cd49d62e5f1
Time: 2016-01-08
Author: mjansche@google.com
File Name: xh/evaluate_pronunciation_rules.py
Class Name:
Method Name:


Project Name: stanfordnlp/stanza
Commit Name: 9cac004f43a74d77f8fdc3ad45bfc3cfcf300357
Time: 2020-11-27
Author: horatio@gmail.com
File Name: stanza/utils/prepare_tokenizer_treebank.py
Class Name:
Method Name: main


Project Name: stanfordnlp/stanza
Commit Name: 9cac004f43a74d77f8fdc3ad45bfc3cfcf300357
Time: 2020-11-27
Author: horatio@gmail.com
File Name: stanza/utils/prepare_mwt_treebank.py
Class Name:
Method Name: main


Project Name: timvieira/arsenal
Commit Name: ed45d52cac4bc626dbd3a53f11f4c018e696e945
Time: 2011-11-01
Author: tim.f.vieira@gmail.com
File Name: profiling/utils.py
Class Name:
Method Name: