- CTT allows translating folders and files of text and Prolog files from one language to another. It is used only with files without filenames as strings in Prolog, so if you are translating an algorithm, use it with individual files that contain the text from your algorithm.
- Requires ChatGPT API key (from the ChatGPT website) in
Daily-Regimen/chatgpt_qa_key.txt
.
- Please download and install SWI-Prolog for your machine at
https://www.swi-prolog.org/build/
.
Download this repository and repositories listed in List-Prolog-Package-Manager/lppm_registry.txt
under "Cultural Translation Tool"
.
- Download the LPPM Repository:
mkdir GitHub
cd GitHub/
git clone https://github.com/luciangreen/List-Prolog-Package-Manager.git
cd List-Prolog-Package-Manager
swipl
['lppm'].
lppm_install("luciangreen","culturaltranslationtool").
../
halt.
-
In Shell:
cd culturaltranslationtool
swipl
['ctt3.pl'].
ctt3("source/", "destination/", "English", "French").
-
where
"source/"
is the source directory or file,"destination/"
is the destination directory or file,"English"
is the original language (optional) and"French"
is the destination language.