Topic: VEDIT and my hoped for use (1 of 2), Read 31 times
Conf: VEDIT User Applications
From: Pauli Lindgren
Date: Monday, May 24, 2010 10:29 AM

Read me first conference is probably not the right place for this. Maybe Cristian or somebody could move this into a more adequate conference.

On 5/23/2010 12:04:26 PM, Patrick Forkin wrote:
>Hello!
>I am a writer, beginning to try and learn programming.
>I am English and live in Germany, I am creating a model
>to translate my texts into German. So I am building a
>dictionary which is intended to recognize the syntactic
>differences between English and German.

Sounds quite a complex task. Are you planning to do it with VEDIT macro language?

>Related to the above here are what I need for using VEDIT:
>1. Markup to simplify the translation process

What kind of markup?
If you are planning to add some codes into the text to mark locations, this could perhaps be done with some keyboard macros.
If you want to color highlight some words, check my new highlight.vdm macro that I just announced in the VEDIT Macro Library conference.

>2. Counting words in strings (both sentences and phrases)

I thought this would be a standard feature of VEDIT, but I guess it is not. So, here is a simple macro that counts words from cursor location to the end of file and displays results on status line:
#1 = Search("|a|i", ALL)  Num_Str(#1, 9) RS(9, " words", APPEND) Statline_Message(@9)

You could add this into your User or Tools menu or into a snippets file.

The search command above searches for an alphabetic character followed by a word separator. You may want to adjust this to suit your purposes (depending on how you define a "word".)

>3. Building notation into my dictionary.
>4. Finding a DB/csv-like structure for the dictionary
>5. Being able to create with VEDIT a scheme for lookup in
>the dictionary.

I don't really understand these, but it may be so complex that it may be better to use some actual programming language and perhaps a database.

--
Pauli

 


Topic: VEDIT and my hoped for use (2 of 2), Read 32 times
Conf: VEDIT User Applications
From: Christian Ziemski
Date: Monday, May 24, 2010 10:42 AM

On 5/24/2010 10:29:13 AM, Pauli Lindgren wrote:
>Read me first conference is probably not the right place
>for this. Maybe Cristian or somebody could move this into
>a more adequate conference.

I did - a couple of seconds before your message arrived.
So both of them are now here in 'VEDIT User Applications'.

Christian