Program detection of strong's numbers in user module

Ask here any questions regarding program functionality
Novar
Posts: 36
Joined: Sat Apr 09, 2011 8:42 pm

Program detection of strong's numbers in user module

Post by Novar »

will the word program detect strong's numbers in a user module?
jwols
Posts: 92
Joined: Sat May 15, 2010 12:23 pm
Location: The Netherlands
Contact:

Re: Program detection of strong's numbers in user module

Post by jwols »

I am also interested in this feature
Jeff
Posts: 420
Joined: Mon Jul 13, 2009 8:56 pm
Location: Wind River Range, WY

Re: Program detection of strong's numbers in user module

Post by Jeff »

I've used this in the past to enable Strong's numbers using "DB Browser for SQLite" (I'm on Linux, but I think it's cross platform): http://forum.theword.net/viewtopic.php?t=297

Code: Select all

This info applies to version 3.
All non-Bible modules have an extension .twm (TheWordModule). These files are sqlite3 database files.
To read more about the sqlite database see here: http://www.sqlite.org

To edit these files you may use any of the free editors that can work with sqlite files. Please, see list here: http://www.sqlite.org/cvstrac/wiki?p=ManagementTools

I personally use the following 3 programs to edit the .twm files:
1. http://www.sqliteexpert.com/ (Personal edition which is free)
2. http://www.singular.gr/sqlite/
3. http://www.yunqa.de/delphi/doku.php/products/sqlitespy/

Although i prefer the first one, the second provides unicode support. It seems that may be better tools that these, it's just a personal opinion.

Since the word 'database' seems to intimidate some people, let me write shortly what it is:
A database file is just a structured file that contains data organized in tables (columns and rows). In order to change the content of a database file, instead of using an editor, you can use a language that is called SQL. The tools above make it easy to give such commands in order to read or alter these files. You don't need to worry how the data are organized in the file itself, the tools above can show you these data in tabular format (something like excel).

The twm files contain a number of tables each where the actual data are stored. The structures are quite simple to understand. As an example, i will tell how you can add to a dictionary the flag that it is a strong dictionary.

All twm file contain a table called 'config'. This table contains 2 columns, one called 'name', the other called 'value'. As you can see, this is used to store parameters (name=value).
In order for a dictionary to be flagged as containing strong definitions, one row should be added with name=strong and value=1. To do that, you open the file with one of the tools and you just execute the following SQL command:
Code:
insert into config(name,value) values('strong',1);


In order to check all the values of this table, just write
Code:
select * from config;


For sqlite explorer: in order to execute one of these statements, you just type it and press Execute (F9). The result are shown below.

I hope this is clear, if not i can add more details,
Costas
Jeff


Using theWord Beta on MX Linux via Wine.
User avatar
JG
Posts: 4339
Joined: Wed Jun 04, 2008 8:34 pm

Re: Program detection of strong's numbers in user module

Post by JG »

I think that the top post is referring to Strong's numbers in the topic text, and the facility to "automatically" make them Strong's Hyperlinks, rather than do it manually one-by-one.
Jon
the
Word 6 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet
User avatar
JG
Posts: 4339
Joined: Wed Jun 04, 2008 8:34 pm

Re: Program detection of strong's numbers in user module

Post by JG »

If they are in the topic tree(subject) then yes it just needs the property adding and setting to 1.

But I think that the request is for topic content G123 etc to make them Hyperlinks.
Jon
the
Word 6 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet
Jeff
Posts: 420
Joined: Mon Jul 13, 2009 8:56 pm
Location: Wind River Range, WY

Re: Program detection of strong's numbers in user module

Post by Jeff »

Sorry, I guess I had misremembered. Could have been something I had imported with strong's formatting already intact that I just had to enable or something.
Jeff


Using theWord Beta on MX Linux via Wine.
jwols
Posts: 92
Joined: Sat May 15, 2010 12:23 pm
Location: The Netherlands
Contact:

Re: Program detection of strong's numbers in user module

Post by jwols »

Is detecting strongnumbers in modules in the todo list.
I mean an option like detecting verse references.
This would be a great addition to theWord
User avatar
JG
Posts: 4339
Joined: Wed Jun 04, 2008 8:34 pm

Re: Program detection of strong's numbers in user module

Post by JG »

I will find out for you.
Jon
the
Word 6 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet
Post Reply