상세 컨텐츠

본문 제목

C# 으로 워드클라우드 생성하기 Sparc.TagCloud

AI/빅데이터

by cepiloth 2021. 3. 31. 12:22

본문

728x90
반응형

https://github.com/chrisdavies/Sparc.TagCloud

사용법은 아래와 같이 심플 하다.

var analyzer = new TagCloudAnalyzer();

// blogPosts is an IEnumerable<String>, loaded from
// the database or whatevz.
var tags = analyzer.ComputeTagCloud(blogPosts);

// Shuffle the tags, if you like for a random
// display
tags = tags.Shuffle();

 

해당 프로젝트의 특징은 tag(word)를 간소화 해주는것이 특징이다.

Example sentence lemmatized
        WORD ==> LEMMA
          On ==> on
         the ==> the
       other ==> other
        hand ==> hand
inflectional ==> inflectional
   paradigms ==> paradigm
          or ==> or
       lists ==> list
          of ==> of
   inflected ==> inflect
       forms ==> form
          of ==> of
     typical ==> typical
       words ==> word
        such ==> such
          as ==> as
        sing ==> sing
        sang ==> sing
        sung ==> sing
       sings ==> sing
     singing ==> sing
      singer ==> singer
     singers ==> singer
        song ==> song
       songs ==> song
  songstress ==> songstress
songstresses ==> songstress
          in ==> in
     English ==> english
        need ==> need
          to ==> to
          be ==> be
    analyzed ==> analyze
   according ==> accord
          to ==> to
    criteria ==> criterion
         for ==> for
  uncovering ==> uncover
         the ==> the
  underlying ==> underlie
     lexical ==> lexical
        stem ==> stem

 

참고

https://www.slideshare.net/MinwookChang/dynamic-word-cloud-using-word2vec-final-presentation

https://github.com/fromme0528/DataScience_Word2Vec

 

728x90
반응형

관련글 더보기

댓글 영역