It is in the Moose-Algos (available with a Moose 4.8 image): MalKontractor
Cheers, Doru
On May 15, 2013, at 11:16 PM, Alexandre Bergel alexandre.bergel@me.com wrote:
Where can we get Contractor? I looked in a Moose 4.8 image and I could not find it
Alexandre
On May 15, 2013, at 3:22 PM, stephane ducasse stephane.ducasse@free.fr wrote:
On May 14, 2013, at 7:55 PM, Juraj Kubelka Juraj.Kubelka@gmail.com wrote:
Hi Stef,
please, can you be more specific? Do you want something like this?
I do not remember the creation interface of a Distribution Map but for any label displayed in any layout we should be able to shorten them using a kind of protocol
removePrefix: 'Seaside*' removePrefixes: #('SW*' 'Seaside*') removePostFix: '*Test' removePostFixes: #('*Tests' '*Test') contractUpTo: 6
contractUpTo: should use Contractor this is a simple class that remove letters based on thier frequency.
Agreed. This utility methods should be part of the LabelShape protocol.
Yes! Because this is with these little details that you get close to what we need in real practice (not just demo).
stef _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"We can create beautiful models in a vacuum. But, to get them effective we have to deal with the inconvenience of reality."