Good evening. I have a list named languageCharactersList. I begin my
iteration through elements in that list with this:
languageCharactersList.eachWithIndex( it, i ->
I hope to make this more generic, so that I can build a variable name that
points to the appropriate list, which then allows me
I will be happy to do that, Guillame. And thank you in advance for any
help.
I'll be at the site where I have this code in about seven hours. I'll send
it then.
Jim
On Wed, Feb 22, 2023 at 9:29 AM Guillaume Laforge
wrote:
> Hi James,
>
> Perhaps you could share with us how you're building the
Hi James,
Perhaps you could share with us how you're building the crosstabulation map?
Somehow, some spacing is introduced, and that would probably in that map
creation that this takes place.
Guillaume
On Wed, Feb 22, 2023 at 3:24 PM James McMahon wrote:
> Thank you Rachel. I will look at
Thank you Rachel. I will look at employing .charAt(0) on the key. I
do believe it is indeed a string. To your point, I suspect I am comparing a
character to a string.
What of the need to clean up the keys - stripping them of any extraneous
spaces so I get just the character itself in the
Are you sure you’re not comparing Strings to Characters at some point? Going
@TypeChecked might reveal if and where that’s happening...
--
Rachel Greenham
rac...@merus.eu
> On 22 Feb 2023, at 11:58, James McMahon wrote:
>
> I have a Groovy list that holds the unicode representation of select
I have a Groovy list that holds the unicode representation of select
foreign language characters, something like this simplified version:
def myList = ['*\u00E4*','\u00D6','\u00F8']
I have built myself a Groovy map that is the crosstabulation of characters
by count in an incoming document, so my