File size: 1,991 Bytes
47e1289
daebfa7
dc8aa01
47e1289
dc8aa01
47e1289
 
 
 
dc8aa01
03b75f4
dc8aa01
47e1289
 
 
ed8240c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
title: Agalma
emoji: 📚
colorFrom: green
colorTo: green
sdk: streamlit
sdk_version: 1.32.0
app_file: app.py
pinned: false
short_description: "AGALMA | ἄγαλμα"
license: cc-by-4.0
tags: ["#AncientGreek", "#LanguageModels", "#Linguistics"]
---

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

## File Descriptions

### app.py
The main application file for the Streamlit app. This file contains the core logic and layout for the Agalma interface.

### requirements.txt
A list of Python dependencies required to run the app.

### models/
A directory containing pre-trained word2vec models. These models are used for generating vector representations of words in the interface.

### 3d_models/
A directory containing pre-trained 3D representations of the models in the ./models directory.
Dimensions were reduced using t-SNE technique. 

### images/
A directory containing all necessary images for the layout of the interface. 

### corpora/
A directory containing compressed corpora files to faster access all the words from the corpora. 

### lemma_list_raw/
A directory containing .txt files with all lemmas occuring in each time slice.

### all_lemmas.pkl.gz
A compressed pickle file containing all lemmas that are in the LSJ dictionary.

### autocomplete.py
A Python file that contains functions to optimize the input suggestions given when a user is typing as input.

### compress_words.py
A Python file that contains functions on compressing words. The compressed files obtained are used to faster obtain words that are in the corpora. 

### lsj_dict.json
A JSON file that contains relevant info in .xml files of the LSJ dictionary. 

### lsj_dict.py
A Python file that contains function to convert .xml file representations of the LSJ dictionary into a JSON file.

### plots.py
A Python file containing functions to create 3D plots.

### word2vec.py
A Python file containing functions needed for computations with vectors.