Jisho
Jisho is a web-based tool for generating custom searchable dictionaries for the TI-Nspire CX calculator series. To learn how to use it, just keep scrolling down. If you want to jump right in to making your own dictionary, click here to jump to the editor.
Overview
Jisho is a great alternative to using the built-in notes or an external PDF viewer for quickly looking up textual information. Since it just produces a standalone .tns file, there’s no need for 3rd party software like Ndless. As long as the calculator’s operating system is 3.6 or higher, Jisho will work on any CX series calculator, including non-CAS, CAS, and CX II models. The minimum required operating system is fairly old, so you’re probably good to go. If you need to check the version or upgrade to a newer operating system, click the provided links for further instructions.
There are 2 parts to Jisho: a browser-based dictionary editor and an executable .tns file containing the actual dictionary. The process of making your own dictionaries is pretty straightforward:
- Import or type your terms and definitions into the dictionary editor.
- Click the “Download .tns” button to download the executable .tns file.
- Plug your calculator into your computer with a mini-USB cable.
- Use TI’s Student Software or Computer Link to send the .tns file to your calculator. Here’s some instructions if you’re not sure how to do this.
- Open the .tns file on your calculator.
- Profit.
The next sections provide more detailed information on how to use the editor and the dictionary.
Using the dictionary
Basics
When you open the .tns file on your calculator, you’ll see two boxes. The top box is for entering the keywords you want to search for, and the lower box will display the matching results in alphabetical order. If the top box isn’t automatically focused on startup, use the trackpad mouse to click on it. As you type characters into the search box, the matching terms in the results box will be updated in real-time.
- To focus the results box, press
enter
while the search box is focused to move the cursor to the results box. - To navigate the cursor around in the results box, press the arrow keys. You can keep scrolling down if there’s too many results to fit in one screen.
- To show the definition of the word under the cursor, press
enter
. Note that the horizontal position of the cursor doesn’t matter; only the row position matters. - To navigate the cursor around in the results box, press the arrow keys. You can keep scrolling down if the definition is too long to fit in one screen.
- To stop viewing the definition of a word, press
esc
. This will take you back to the previous list of results. You can then navigate to another word using the arrow keys. - To focus the search box, press
esc
while the results box is focused to move the cursor to the search box. You can then pressdel
to make room for a new query. - To quit the dictionary, press
doc
, select “File”, then select “Close”. When the calculator asks if you want to save your changes, select “No”.
Extra notes
- An empty query will match all possible terms in the dictionary.
- The search will always be case-insensitive.
- Using the mouse to focus each box is discouraged. Use the keyboard shortcuts to get around.
- By default, both the terms and definitions will be searched. As a result, a term will match even if it doesn’t physically contain the query (as long as its corresponding definition does). You can disable this if you want (more on this below).
Configuration
If you want to change the search behavior or font size, press the menu
button on your calculator to bring up the configuration menu. Navigate to the option you want to change, then press enter
. Changes will take place immediately.
- Search Options
- Terms Only - Search only the list of terms to determine matching results.
- Terms and Defs (default) - Search both the list of terms and definitions to determine matching results.
- Font Sizes
- 9 (default) - Set the font size to 9.
- 12 - Set the font size to 12.
- 16 - Set the font size to 16.
- 24 - Set the font size to 24.
Using the editor
Basics
The dictionary editor displays a table of all the possible terms and definitions that will be used to create your dictionary.
- To change the value of an entry, just click on it, and start typing away.
- To add more rows, click the “Add Row” button.
- To delete a row, click its checkbox, then click the “Delete Selection” button.
- To delete all the rows, click the top left checkbox, then click the “Delete Selection” button.
- To download the .tns file, click the “Download .tns” button.
Things to look out for
- If you have duplicate terms, the definition of the term with the highest number will be used.
- If you have any blank terms, their entry will be discarded during the creation of the .tns file.
- Line breaks are not added unless you actually press
Enter
; otherwise, it’s just a visual line break. - The terms will be sorted in alphabetical order during the creation of the .tns file, so the order you see in the editor is not the order in the actual dictionary.
- The downloaded .tns file will always be named “jisho.tns”, so you should rename your files accordingly if you have multiple dictionaries.
- Calculator support for non-printable ASCII characters isn’t the greatest. I just got lucky with the kanji in the demo, so you might run into issues with displaying Unicode characters. As a workaround, type out the phonetic equivalent (e.g. write √ as sqrt). This will also make finding results easier since your search keywords will probably just consist of alphanumeric characters.
Importing from Quizlet
To import the flashcards from a Quizlet, click the “Import Quizlet” button. This will prompt you to paste in the HTML source code of the target Quizlet.
If you’re not sure how to get the HTML source code of a website, here’s how you do it:
- Right-click anywhere on the target page.
- Click the option that says “View Page Source” (this is for Chrome; the exact option may vary from browser to browser).
- Select and copy the entire region of text. You can use
Control-a
andControl-c
to do this (useCommand
instead ofControl
if you’re on a Mac).
After you’re done pasting, click “OK” to exit the prompt. If the entered HTML source code is successfully parsed, the new terms and definitions will be appended to the table. If there’s an error parsing the HTML, you may get an alert, but nothing will happen. Obviously, this is a text-driven tool, so don’t expect pictures from your Quizlet to show up.
I’m aware that this is a very hacky way to do this. Quizlet makes web scraping fairly difficult, so I decided on a relatively more maintainable solution. On the bright side, you can use this technique to get the contents of your private Quizlets.
Importing from JSON
To import raw JSON data, click the “Import JSON” button. This will prompt you to paste in the raw JSON you want to use. After you’re done pasting, click “OK” to exit the prompt. If the JSON is successfully parsed, the new terms and definitions will be appended to the table. If there’s an error, you may get an alert, but nothing will happen.
The keys of the imported JSON data are treated as the new terms, and the values are treated as the definitions. Note that the values effectively get stringified, so pass in JSON that has strings for values.
Issues
If you ever run into any issues, open up an issue here. I’ll do my best to answer in a timely manner. Also, feedback and comments are welcome! If you like Jisho, consider leaving a star at the GitHub repository.
If you’re concerned about the “cheating” implications of using Jisho for tests like the AP exams, don’t worry about it; as of this writing, the College Board explicitly states that your calculator memory doesn’t have to be cleared before or after the exam. Plus, it’s not like Jisho is a free ticket to a perfect score. In practice, I find it to be most useful as an emergency crutch for recalling information that I might forget.
That being said, I strongly discourage academic dishonesty, so please make sure you use Jisho responsibly.
If you want to mess with the source code, Jisho is distributed under the MIT license, so feel free go ham. Implementation details can be found in the repository’s README if you’re curious.
Editor
This is the editor for creating your .tns files. The initial entries are just there as examples, so feel free to delete them. Remember, you can put whatever you want into your dictionary. The sky’s the limit!
No. | Term | Definition | |
---|---|---|---|
1 | one | Romaji: ichi Kanji: 一 Symbol: 1 |
|
2 | two | Romaji: ni Kanji: 二 Symbol: 2 |
|
3 | three | Romaji: san Kanji: 三 Symbol: 3 |
|
4 | four | Romaji: yon Kanji: 四 Symbol: 4 An alternate pronunciation is "shi," but it's considered unlucky. |
|
5 | five | Romaji: go Kanji: 五 Symbol: 5 |
|
6 | six | Romaji: roku Kanji: 六 Symbol: 6 |
|
7 | seven | Romaji: nana Kanji: 七 Symbol: 7 |
|
8 | eight | Romaji: hachi Kanji: 八 Symbol: 8 |
|
9 | nine | Romaji: kyuu Kanji: 九 Symbol: 9 |
|
10 | ten | Romaji: jyuu Kanji: 十 Symbol: 10 |