theWord
http://forum.theword.net/

Program detection of strong's numbers in user module
http://forum.theword.net/viewtopic.php?f=7&t=8664
Page 1 of 1

Author:  Novar [ Fri Jun 19, 2020 2:45 am ]
Post subject:  Program detection of strong's numbers in user module

will the word program detect strong's numbers in a user module?

Author:  jwols [ Fri Jun 19, 2020 7:35 pm ]
Post subject:  Re: Program detection of strong's numbers in user module

I am also interested in this feature

Author:  Jeff [ Sun Jun 21, 2020 9:09 pm ]
Post subject:  Re: Program detection of strong's numbers in user module

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): viewtopic.php?t=297
Code:
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

Author:  JG [ Sun Jun 21, 2020 9:25 pm ]
Post subject:  Re: Program detection of strong's numbers in user module

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.

Author:  JG [ Sun Jun 21, 2020 10:00 pm ]
Post subject:  Re: Program detection of strong's numbers in user module

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.

Author:  Jeff [ Sun Jun 21, 2020 10:59 pm ]
Post subject:  Re: Program detection of strong's numbers in user module

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.

Author:  jwols [ Sat Jan 30, 2021 5:56 pm ]
Post subject:  Re: Program detection of strong's numbers in user module

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

Author:  JG [ Sat Jan 30, 2021 6:39 pm ]
Post subject:  Re: Program detection of strong's numbers in user module

I will find out for you.

Page 1 of 1 All times are UTC + 2 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/