Install Ichiran manually
masterTo install Ichiran as a regular ASDF system, follow these steps:
- Download Dictionary Data: Obtain JMDict data. For a full installation, download JMDict and optionally kanjidic2.xml for kanji functionality.
- Configure Settings: Create a
settings.lispfile by copyingsettings.lisp.template. Update it with correct file paths and database connection parameters. - Install Dependencies: Use
quicklispto install all required dependencies. - Initialize Database:
- Easy mode: Download a database dump from the releases page. Ensure
settings.lisphas the correct connection parameters. Run(ichiran/maintenance:add-errata)to update the database. - Hard mode: Run
(ichiran/maintenance:full-init)for a complete initialization. Alternatively, run(ichiran/maintenance:load-jmdict)followed by(ichiran/maintenance:load-best-readings)to initialize onlyichiran/dict(skippingichiran/kanji). Note that this can take several hours.
- Easy mode: Download a database dump from the releases page. Ensure
- Verify Installation: Run
(ichiran/test:run-all-tests)to ensure the installation is correct. - Optimize Segmentation: Before using word segmentation, run
(ichiran/dict:init-suffixes t)to create a suffix cache for improved quality.