This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import numpy as np | |
import torch | |
import torch.utils.data | |
from torch.utils.data import DataLoader | |
from utils import ( | |
load_wav_to_torch, | |
load_filepaths_and_text, | |
guide_attention_fast, | |
to_gpu, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from collections import defaultdict | |
class Graph: | |
def __init__(self): | |
self.graph = defaultdict(list) | |
def addEdge(self,u,v): | |
self.graph[u].append(v) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from collections import defaultdict | |
class Graph: | |
def __init__(self): | |
self.graph = defaultdict(list) | |
def addEdge(self,u,v): | |
self.graph[u].append(v) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> | |
<xs:element name="Helpers"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element name="DrugList"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element name="Drug"> | |
<xs:complexType> | |
<xs:sequence> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> | |
<xs:element name="Catalog"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element name="LastOpenTemplates"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element name="Template"> | |
<xs:complexType> | |
<xs:sequence> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"LastOpenTemplates": [ | |
{ | |
"Name": "Больничный лист", | |
"Category": "Справки", | |
"LastOpened": "15.04.2017 13:55:10" | |
} | |
], | |
"Templates": [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"DrugList": [ | |
{ | |
"Name": "НО-ШПА", | |
"Description": "blah-blah", | |
"FrequencyInADay": "15", | |
"AdmissionDuration": "15 лет" | |
} | |
], | |
"Complaints": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<Helpers> | |
<DrugList> | |
<Drug Name="НО-ШПА" Description="bla-blah" FrequencyInADay="15" AdmissionDuration="15 лет" /> | |
</DrugList> | |
<Complaints> | |
<Complaint Description="Боль в спине" /> | |
</Complaints> | |
<Recomendations> | |
<Recomendation Description="Не употреблять пищу 10 суток" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<Helpers> | |
<DrugList> | |
<Drug> | |
<Name>НО-ШПА</Name> | |
<Description>blah-blah</Description> | |
<FrequencyInADay>15</FrequencyInADay> | |
<AdmissionDuration>15 лет</AdmissionDuration> | |
</Drug> | |
</DrugList> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<Catalog> | |
<LastOpenTemplates> | |
<Template> | |
<Name>Больничный лист</Name> | |
<Category>Справки</Category> | |
<LastOpened>15.04.2017 13:55:10</LastOpened> | |
</Template> | |
</LastOpenTemplates> | |
<Templates> |
NewerOlder