My family was stranded for a while during a transfer at Frankfurt airport,
while a computer system refused to accept that ‘Glasgow’ was not a
destination. ( At least, in that instance)
Having said that, the same error is much more commonly made by taxi drivers,
who can’t avoid showing great
i had this same problem a few weeks ago...luckily it wasn't critical to the
featureset, so i didn't find a solution. I will swing back around with the
help of this thread. thanks for entertaining the problem.
On Sun, Sep 2, 2018 at 5:09 AM Quentin Long via use-livecode <
Have pondered the question, and come up with some code which may or may not
solve the problem at hand, but which may at least prove helpful in looking for
a real solution:
==
Assumption: You’ve got a text document (not HTML, not RTF, just plain TXT)
which contains,
On September 1, 2018 6:34:17 PM Mark Wieder via use-livecode
wrote:
On 09/01/2018 02:48 PM, J. Landman Gay via use-livecode wrote:
No, it's a little north-east of center.
Wait. What? West is north-east of center?
Of course. When you're that far south, everything is north. I assume their
On 09/01/2018 02:48 PM, J. Landman Gay via use-livecode wrote:
No, it's a little north-east of center.
Wait. What? West is north-east of center?
--
Mark Wieder
ahsoftw...@gmail.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
No, it's a little north-east of center.
On 9/1/18 12:02 PM, Richmond Mathewson via use-livecode wrote:
Is West, Texas in West Texas?
Richmond.
On 1/9/2018 6:55 pm, Mark Wieder via use-livecode wrote:
On 09/01/2018 08:39 AM, J. Landman Gay via use-livecode wrote:
There is a town in Texas
On 9/1/18 10:55 AM, Mark Wieder via use-livecode wrote:
On 09/01/2018 08:39 AM, J. Landman Gay via use-livecode wrote:
There is a town in Texas called West, made infamous a few years ago by
a giant explosion. I don't think you can make assumptions about names
of places.
And thus the
East or West, home is a comfy LiveCode stack . . .
Well; here's my third version, which does better than the first 2:
https://www.dropbox.com/s/r3yocmqzwhwu4ta/Text%20analyzer%20X.livecode.zip?dl=0
Richmond.
On 1/9/2018 6:39 pm, J. Landman Gay via use-livecode wrote:
There is a town in Texas
We're all in a state at the moment with this one.
Richmond.
On 1/9/2018 7:24 pm, Stephen MacLean via use-livecode wrote:
Thankfully, in my case, I do know what at least the state is:)
On Sep 1, 2018, at 11:55 AM, Mark Wieder via use-livecode
wrote:
On 09/01/2018 08:39 AM, J. Landman Gay
Is West, Texas in West Texas?
Richmond.
On 1/9/2018 6:55 pm, Mark Wieder via use-livecode wrote:
On 09/01/2018 08:39 AM, J. Landman Gay via use-livecode wrote:
There is a town in Texas called West, made infamous a few years ago
by a giant explosion. I don't think you can make assumptions
That sounds remarkably like two women who are friends of my parents:
One is called "Gay" and the other one is called "Loveday". They were
friends at school 60 years ago
and when they were both widowed they moved in together; although the son
of one of them fell out
with his wife and now lives
Thankfully, in my case, I do know what at least the state is:)
> On Sep 1, 2018, at 11:55 AM, Mark Wieder via use-livecode
> wrote:
>
>> On 09/01/2018 08:39 AM, J. Landman Gay via use-livecode wrote:
>> There is a town in Texas called West, made infamous a few years ago by a
>> giant
On 09/01/2018 08:39 AM, J. Landman Gay via use-livecode wrote:
There is a town in Texas called West, made infamous a few years ago by a
giant explosion. I don't think you can make assumptions about names of
places.
And thus the distinction between West Texas and West, Texas.
--
Mark Wieder
There is a town in Texas called West, made infamous a few years ago by a
giant explosion. I don't think you can make assumptions about names of places.
Mark's suggestion to check for words ending in "s" will fail on many towns,
though apostrophe-s may be safe.
--
Jacqueline Landman Gay |
Wow, this is awesome, thank you all!!
Sorry, on the road taking my daughter to college, would love to try some of
this out.
One thing to keep in mind is that as that I’m checking for names against the
town list, I may not know what town I’m actually looking for. Usually i do, but
not always.
On 1/9/2018 2:50 pm, Mark Waddingham via use-livecode wrote:
On 2018-09-01 13:15, Richmond Mathewson via use-livecode wrote:
I've already shovelled Ruyton of the Eleven Towns quite effectively:
https://www.dropbox.com/s/n7r7u0c2m9ny3eb/Text%20analyzer%20X.livecode.zip?dl=0
No tokenising,
It didn't like this:
on mouseDown
put empty into fld "zText"
if fld "xText" contains "Ruyton of the Eleven Towns." then
put fld "xText" into fld "zText"
put "Ruyton of the Eleven Towns." into CHUNNK
put empty into CHUNNK of fld "zText"
end if
*end mouseDown**
**
On 2018-09-01 13:15, Richmond Mathewson via use-livecode wrote:
I've already shovelled Ruyton of the Eleven Towns quite effectively:
https://www.dropbox.com/s/n7r7u0c2m9ny3eb/Text%20analyzer%20X.livecode.zip?dl=0
No tokenising, in fact very basic stuff indeed.
Not wishing to bang on about
On 1/9/2018 2:25 pm, Mark Waddingham via use-livecode wrote:
On 2018-09-01 13:15, Richmond Mathewson via use-livecode wrote:
I've already shovelled Ruyton of the Eleven Towns quite effectively:
https://www.dropbox.com/s/n7r7u0c2m9ny3eb/Text%20analyzer%20X.livecode.zip?dl=0
No
On 2018-09-01 13:15, Richmond Mathewson via use-livecode wrote:
I've already shovelled Ruyton of the Eleven Towns quite effectively:
https://www.dropbox.com/s/n7r7u0c2m9ny3eb/Text%20analyzer%20X.livecode.zip?dl=0
No tokenising, in fact very basic stuff indeed.
Not wishing to bang on about
I've already shovelled Ruyton of the Eleven Towns quite effectively:
https://www.dropbox.com/s/n7r7u0c2m9ny3eb/Text%20analyzer%20X.livecode.zip?dl=0
No tokenising, in fact very basic stuff indeed.
Not wishing to bang on about over-complcating things . . . . .
Probably time for both Thee and
On 2018-09-01 12:50, Richmond Mathewson via use-livecode wrote:
Yup: indeed: fairly coarse.
However, see my next posting re "Ruyton of the Eleven Towns"
that should make some folk feel that they need a set of sewing needles
rather than "just" a silver teaspoon.
I think you'll find my 'silver
Yup: indeed: fairly coarse.
However, see my next posting re "Ruyton of the Eleven Towns"
that should make some folk feel that they need a set of sewing needles
rather than "just" a silver teaspoon.
Richmond.
On 1/9/2018 1:45 pm, Mark Waddingham via use-livecode wrote:
On 2018-09-01 12:35,
I can see that the "problem", which my stack does not address, is with 2
or 3 part place names:
The Rochester/Chester problem is easily dealt with.
While it should be realtively easy to have a subroutine to deal with
words such as "West" (after all, there are no places just called "West"),
On 2018-09-01 12:35, Richmond Mathewson via use-livecode wrote:
That's because you lot tend to use a silver teaspoon while I tend to
use a great big shovel:
https://www.dropbox.com/s/00t8oftb1ydm8ni/Text%20analyzer%20X.livecode.zip?dl=0
Heh, great big shovels are great for coarse work - e.g.
That's because you lot tend to use a silver teaspoon while I tend to use
a great big shovel:
https://www.dropbox.com/s/00t8oftb1ydm8ni/Text%20analyzer%20X.livecode.zip?dl=0
Richmond.
On 1/9/2018 1:29 pm, Mark Waddingham via use-livecode wrote:
On 2018-09-01 12:05, Richmond Mathewson via
On 2018-09-01 12:05, Richmond Mathewson via use-livecode wrote:
Obviously, when considering names of places such as Colchester,
Rochester and Chester one has
to search for the longer names first and exclude them from later
searches.
The 'substring' problem (i.e. Chester being 'in' Rochester)
Obviously, when considering names of places such as Colchester,
Rochester and Chester one has
to search for the longer names first and exclude them from later searches.
Richmond.
On 1/9/2018 12:59 pm, Mark Waddingham via use-livecode wrote:
On 2018-09-01 06:48, Stephen MacLean via
On 2018-09-01 06:48, Stephen MacLean via use-livecode wrote:
Hi All,
First, followed Keith Clarke’s thread and got a lot out of it, thank
you all. That’s gone into my code snippets!
Now I know, the title is not technically true, if it’s 2 words, they
are distinct and different. Maybe it’s
Very interesting Steve, your use case is actually very close to what I’m trying
to achieve, which is to identify keywords and phrases within a corpus of text -
think prioritised ’tag cloud’ metadata.
My original plan (as a non-programmer) was to identify the most popular unique
words within
Hi All,
First, followed Keith Clarke’s thread and got a lot out of it, thank you all.
That’s gone into my code snippets!
Now I know, the title is not technically true, if it’s 2 words, they are
distinct and different. Maybe it’s because I’ve been banging my head against
this and some other
31 matches
Mail list logo