LINUX CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>

7-DAY TOP DOWNLOAD

#
Program
Chrome OS 0.4.237
Beta

4,914
BackTrack 3.0 / 4.0
Pre-Final

3,679
Wine 1.0.1 / 1.1.33
2,851
VLC 1.0.3
2,603
Yahoo Messenger
1.0.4

2,363
Ubuntu 9.10
2,327
Thunderbird PST
Import plugin 1.2

2,015
Fedora 12
1,725
Adobe Flash Player
for Linux 10.0.32.18
/ 10.1 Beta

1,685
Corel Photo-Paint 9
1,473

WEEK'S BEST

  • Ubuntu 9.10
  • Ubuntu Netbook Rem...
  • Pidgin 2.6.3
  • Wine 1.0.1 / 1.1.33
  • Linux Kernel 2.6.3...
  • Mozilla Firefox 3....
  • Fedora 12
  • OpenOffice.org 3.1.1
  • Firestarter 1.0.3
  • The Gimp 2.6.7 / 2...
  • FileZilla 3.3.0.1
  • Transmission 1.76
  • Super Grub Disk 0....
  • Gufw 9.04.2
  • Skype 2.0.072 / 2....
  • openSUSE Linux 11.2
  • Opera 10.01 / 10.1...
  • Adobe Flash Player...
  • wine-doors 0.1.3
  • Google Gadgets 0.1...
  • Home / Linux / Programming / Libraries

    auto_tagify 0.6

    Download button

    No screenshots available
    Downloads: 63  Add to download basket  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Edna Piranha | More programs
    LGPL / FREE
    November 18th, 2009, 09:57 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Add a review  Refer to a friend  Subscribe

     

    auto_tagify description

     

    Auto-tags a selection of text and generates links to the tagified versions of the words

    auto_tagify is a simple auto tagging library that generates tags out of a selection of text. Any text that is less than 3 characters long or matches basic stop words such as 'the', 'this', 'that', 'and', 'really', etc. will not be included.

    There are two operations Auto Tagify performs - one returns the selection of text with links embedded in the string and the other returns a list of all the taggable words, leaving out stop words.

    For the first operation, everything is optional, but it is most effective to enter some text. Optional parameters you can set are the paths for tag links and the css classes for link. For instance, if you set your tag routing to a relative path such as /tags/< tagged_word > and want to use the css class named "tagged":

    from auto_tagify import AutoTagify

    t = AutoTagify()

    t.text = "This is the text to display!"

    t.link = "/tags"

    t.css = "tagged"

    t.generate()


    The result will be: This is the < a href="/tags/text" class="tagged" >text< /a > to < a href="/tags/display" class="tagged" >display!< /a >

    If no link is set, the default path is "/< tagged word >", such as "/text".

    For the second operation, you will only receive a list of all your taggable words from the text. You can call it like so:

    t.text = "This text is taggable taggable kittens"

    t.tag_list()


    The result will be a list: ['text', 'taggable', 'taggable', 'kittens']

    These two operations are sufficient for you to maintain tag counts and tag references to text in your application.

    Currently works with English only.

    Requirements:

    · Python

      


    TAGS:

    tag text | auto tagging | tagging library | auto-tag | text | tagging



    HTML code for linking to this page:


    Go to top

    Windows tabGames tabDrivers tabMac tabLinux tabScripts tabMobile tabHandheld tabGadgets tabNews tab

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   ENTER NEWS SITE   |   ENGLISH BOARD   |   ROMANIAN FORUM