Skip to content

luciangreen/culturaltranslationtool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cultural Translation Tool (CTT)

  • 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.

Prerequisites

  • Please download and install SWI-Prolog for your machine at https://www.swi-prolog.org/build/.

1. Install manually

Download this repository and repositories listed in List-Prolog-Package-Manager/lppm_registry.txt under "Cultural Translation Tool".

2. Or Install from List Prolog Package Manager (LPPM)

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

Running

  • 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.

Releases

No releases published

Packages

No packages published

Languages