Name Cloud ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Name Cloud ?

abergel
Hi!

I am not quite sure how name cloud works. In particular the method #symbolsUsedInName. For example:

        m := MooseGroup new.
        m add: (FAMIXClass new name: 'Hello').
        m add: (FAMIXClass new name: 'World').
       
        self assert: m symbolsUsedInName size equals: 1.

I would expect to have #(#Hello #World) as the result of #symbolsUsedInName.

Cheers,
Alexandre

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Name Cloud ?

Tudor Girba-2
Hi,

You get only 1 because "Hello" is in the stop word list and it gets filtered out :).

Cheers,
Doru

On Fri, Apr 24, 2015 at 12:12 AM, Alexandre Bergel <[hidden email]> wrote:
Hi!

I am not quite sure how name cloud works. In particular the method #symbolsUsedInName. For example:

        m := MooseGroup new.
        m add: (FAMIXClass new name: 'Hello').
        m add: (FAMIXClass new name: 'World').

        self assert: m symbolsUsedInName size equals: 1.

I would expect to have #(#Hello #World) as the result of #symbolsUsedInName.

Cheers,
Alexandre

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Name Cloud ?

abergel
ok! No idea why Hello is really a stop word, but okay

Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On Apr 24, 2015, at 11:24 AM, Tudor Girba <[hidden email]> wrote:

Hi,

You get only 1 because "Hello" is in the stop word list and it gets filtered out :).

Cheers,
Doru

On Fri, Apr 24, 2015 at 12:12 AM, Alexandre Bergel <[hidden email]> wrote:
Hi!

I am not quite sure how name cloud works. In particular the method #symbolsUsedInName. For example:

        m := MooseGroup new.
        m add: (FAMIXClass new name: 'Hello').
        m add: (FAMIXClass new name: 'World').

        self assert: m symbolsUsedInName size equals: 1.

I would expect to have #(#Hello #World) as the result of #symbolsUsedInName.

Cheers,
Alexandre

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev