Skip to content

Display Word Frequency Menu Plugin

Oliver Tseng edited this page Dec 28, 2023 · 9 revisions

Overview

This menu plugin will annotate words with how many times that Strongs word is used in the Bible. It can also be configured to highlight words with different colors depending on the word frequency.

Screenshot from 2023-12-28 13-52-33

This is useful to point out special words that are only used infrequently or frequently in the Bible. For example, Luke often uses words that are only once in the entire Bible.

This will only display frequency information in Bibles that contains Strongs numbers in it, like KJVx. The plugin will display using the current active Bible and passage. If the current active Bible does not contain Strongs, it will default to KJVx.

How to install it

In the menu, go to "Resources", "Add", "GitHub Menu Plugins". Select "Display Word Frequency" and install it. Restart UBA. Then it'll show up in the menu under "Plugins". If you have not installed KJVx, it will prompt to have it downloaded.

How to configure the highlight colors

In the marvelData/statistics folder, copy the frequency_color_mapping.txt to frequency_color_mapping_custom.txt. It will then use the frequency_color_mapping_custom.txt file instead of frequency_color_mapping.txt.

Modify the frequency_color_mapping_custom.txt with how you want the colors to be mapped.

By default, the color mapping is:

1, 1, red, red
2, 5, blue, orange
6, 10, green, green
11, 10000, black, white

If a word is only used once, it will be colored red. If it's used 2 to 5 times, it will be blue in the light theme and orange in the dark/night themes.

Clone this wiki locally