Functions | |
| index () | |
| Render the main page with a search form and sets the default language to English. | |
| set_language () | |
| Set the user's preferred language and store it in the session and cookie. | |
| search () | |
| Handle search requests and display results based on the searched word. | |
| related_words () | |
| Retrieve related words for a given Hanja character. | |
| autocomplete () | |
| Return word suggestions for the search bar autocomplete. | |
| vercel_app (environ, start_response) | |
| Entry point for Vercel serverless function. | |
Variables | |
| app | |
| secret_key | |
| str | folder_path = "data/전체 내려받기_한국어기초사전_json_20250112" |
| data_access = DataAccess() | |
| data_processor = DataProcessor(folder_path) | |
| host | |
| port | |
| debug | |
| api.app.autocomplete | ( | ) |
Return word suggestions for the search bar autocomplete.
| api.app.index | ( | ) |
Render the main page with a search form and sets the default language to English.
| api.app.related_words | ( | ) |
Retrieve related words for a given Hanja character.
| api.app.search | ( | ) |
Handle search requests and display results based on the searched word.
| api.app.set_language | ( | ) |
Set the user's preferred language and store it in the session and cookie.
| api.app.vercel_app | ( | environ, | |
| start_response | |||
| ) |
Entry point for Vercel serverless function.
| environ | The WSGI environment. |
| start_response | The WSGI start response callable. |
| api.app.app |
| api.app.data_access = DataAccess() |
| api.app.data_processor = DataProcessor(folder_path) |
| api.app.debug |
| str api.app.folder_path = "data/전체 내려받기_한국어기초사전_json_20250112" |
| api.app.host |
| api.app.port |
| api.app.secret_key |