@@ -19,8 +19,8 @@ csv, tsv or excel file. An example how to match two separate variable descriptio
1919[ datastew/scripts/mapping_excel_example.py] ( datastew/scripts/mapping_excel_example.py ) :
2020
2121``` python
22- from datastew.process.parsing import DataDictionarySource
23- from datastew.process.mapping import map_dictionary_to_dictionary
22+ from datastew.io.source import DataDictionarySource
23+ from datastew.harmonization import map_dictionary_to_dictionary
2424
2525# Variable and description refer to the corresponding column names in your excel sheet
2626source = DataDictionarySource(" source.xlxs" , variable_field = " var" , description_field = " desc" )
@@ -39,7 +39,7 @@ function:
3939
4040``` python
4141from datastew.embedding import Vectorizer
42- from datastew.process.mapping import map_dictionary_to_dictionary
42+ from datastew.harmonization import map_dictionary_to_dictionary
4343
4444vectorizer = Vectorizer(" text-embedding-ada-002" , key = " your_api_key" )
4545df = map_dictionary_to_dictionary(source, target, vectorizer = vectorizer)
@@ -135,7 +135,7 @@ language models. An example how to generate a t-sne plot is shown in
135135
136136```python
137137from datastew.embedding import Vectorizer
138- from datastew.process.parsing import DataDictionarySource
138+ from datastew.io.source import DataDictionarySource
139139from datastew.visualisation import plot_embeddings
140140
141141# Variable and description refer to the corresponding column names in your excel sheet
0 commit comments