Hanja
Getting hanja characters for korean words
 
Loading...
Searching...
No Matches
app.py File Reference

Namespaces

namespace  api
 
namespace  api.app
 

Functions

 api.app.index ()
 Render the main page with a search form and sets the default language to English.
 
 api.app.set_language ()
 Set the user's preferred language and store it in the session and cookie.
 
 api.app.search ()
 Handle search requests and display results based on the searched word.
 
 api.app.related_words ()
 Retrieve related words for a given Hanja character.
 
 api.app.autocomplete ()
 Return word suggestions for the search bar autocomplete.
 
 api.app.vercel_app (environ, start_response)
 Entry point for Vercel serverless function.
 

Variables

 api.app.app
 
 api.app.secret_key
 
str api.app.folder_path = "data/전체 내려받기_한국어기초사전_json_20250112"
 
 api.app.data_access = DataAccess()
 
 api.app.data_processor = DataProcessor(folder_path)
 
 api.app.host
 
 api.app.port
 
 api.app.debug