Tagging item according to keywords

hi
is there any algorithm for tagging an item with the keywords and searching them according to these keywords.
for example, in a library, a Java programming book can be tagged with the keyword "java, programming, object oriented".
so, when a user search with any of these keyword, that book will be returned in the result.
regards
terence

generally this is called an index. Just like the index of a book where you look up a word and find a list of which pages that word lives on.
In a database you could keep a table where each row is a pair, a tag and a data item. If you querry this table on a single tag your drop is all the data items that matched the tag.
Presumably in memory you could do the same thing. Your index would be something like a Map where the keys are strings and the data element associated with a single key is a list of objects that match that tag.
I wouldn't exactly call this an algorithm it is more a data structure and how you do it depends more on where you do it. You were not clear on whether you are trying to tag items in a database or what.

Similar Messages

  • A List of Customer Line Items according to the *CONTACT PERSON*

    Hi All,
    I'm looking for a report which shows the  List of Customer Line Items according to the CONTACT PERSON data, that I can find in the customer master data.
    Thanks for your help

    Not sure if you can add this field to the selection criteria. Please look at OSS notes 188663, 310886. I remember there were some restrictions as only fields from certain tables are allowed to use in FBL1N, FBL3N and FBL5N transactions.
    Shail

  • Tagged items web part issue SP 2013

    Hi,
    we have configured Content tag cloud and we have two different issues.
    1. we have configured to show the tags that are tagged under the current url by all users, but when we click on the tag, it shows all the documents that are tagged with that specific tag (from different sites), is this a known behavior.
    2. For many of the tags, we don't see the documents in the Tagged items web part (some only shows in popular within 60 days tab but not in All tab)
    We have run the full crawl and social maintenance timer job to fix some other issues earlier. I also read somewhere that we need to activate the content type syndication hub, but we already have many tags working fine. what is the relation to the content
    type syndication hub.
    Any help would be really appreciated. Thanks.

    Hi Senthil,
    #1. Yes. If we click a tag in the Tag Cloud web part, it will redirect use to the tag profile page for this tag.
    And all the items tagged by the tag will be displayed in this tag profile page.
    #2. This issue may be due to the incremental crawl miss some tagged items or tags.
    I recommend to run a full crawl and then check the results.
    Per my knowledge, it has nothing to do with the content type syndication hub.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Importing Photoshop Elements tags into iPhoto 09 keywords

    I am looking for a method of importing my Photoshop Elements photos & videos with their tags into iPhoto as keywords. I've seen several posts on this topic but none quite work for my situation. I'm hoping someone has a good recommendation. I have the following...
    * iPhoto 09
    * PSE 5.0
    * 10K+ photos with an average of 2-3 tags each
    * want to import tags for video clips as well as for photos
    Here's what I've tried...
    * iPhoto did actually import a random few pictures with the tags (maybe 12 out of 10K)
    * PSE DB Tool to write the tag data to the files. This requires PSE 6.0 or greater (i have 5.0). http://www.johnrellis.com/psedbtool/
    * PSE native tag writing. Doesn't write tags on video clips and is littered with bugs anyway.
    * Other tag importing tool at http://www.cv2h.com/PSA2iPhoto/Welcome.html. Does not work with iPhoto 09.
    Any ideas?
    Help
    Kyle

    The IPTC metadata is for image files only. Video files can't have that metadata written to the file. Application can assign metadata to video files but they are kept in databases associated with the application and point to the video file.
    Some DAM (digital asset management) applications can add keywords, etc. to video files but the data stays with the application.

  • Executing listbox items according to loop

    I am making a vi in which we need to execute listbox items according to loop values defined at the begining( shown in the image attached below) , it's like that we start a loop with some values in it e.g loop(2,4,5) and loop ends with END string and all the items between loop and END we need to execute number of times the values we have defined within loop , e.g in this case since only three values are there within loop 2,4,5 so any items present between loop and END we need to execute 3 times, it could be nested loop also, we tried so many solutions but not getting how to do this, some guidance would be great help.
    function of the values defined within loop bracket is that we are having instryment list defined within loop and End and we having kept one constant x with every instrument , this x ( and the values defined within loop) are different voltages, x would be replaced every time by the newq loop value until all values are not executed.
    below i am attaching the sequence list image. 
    Attachments:
    sequence list.png ‏76 KB

    Ritu wrote:
    i am doing auto indexing but it not working correctly, below attached is the image of what i am doing.
    Like this.  (However you'll need more algorithm for this to work in nested loops - you'll have to keep a track of outside loop iterations while you execute inside loops.)
    -DP
    New Controls & Indicators made using vector graphics & animations? Click below for Pebbles UI

  • Delete a line item according to Mat erial code

    Hi SD experts,
    I need to write an ABAP program to delete a line item according to some Material codes in a given Quotation(Revised).
    I want to know what are the undelying fields and tables to be queried for a revised Quotation.  Where do i find a give line item in a Quotation?
    Appreciate your answer with points
    Thanks
    Dan

    Hello Dan
    Initially Check the table VBAK for the Quotations, this can be done with the statement
    Select * from VBAK where VBAK-AUART = QT.
    Once the records are selected from the header table, go to the lines table [VBAP] and check for the material codes.
    Select * from VBAP where VBAP-VBELN =  VBAK-VBELN.
    Read all the line and check for the material code.
    Check all the line details to be matched with the material code.
    Regards,
    Gauravjit.
    Reward Points if solution matches your requirement.

  • Attribute onselect invalid for tag selectOneMenu according to TLD

    Hi All
    I am seeing the error message "Attribute onselect invalid for tag selectOneMenu according to TLD" with html_basic.tld version 1.0 even though the tag and attribute are present in the TLD. The error occurs on Windows XP in Jboss 4.0.2. I don't see the error on Linux.
    I'd appreciate any help.
    Thanks
    Murthy

    Hi Raymond
    Found that Jboss was loading html_basic.tld from an unknown jar. When I set the URI in the JSP to the TLD file placed in WEB-INF/lib, the error went away.
    Changed
    <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <%@ taglib prefix="h" uri="WEB-INF/lib/html_basic.tld"%>
    Wonder in which jar the TLD lies.
    Thanks for your help
    Murthy

  • Error: Attribute binding invalid for tag ganttChart according to TLD

    Hi,
    I am experimenting with writing my first custom tag and getting the stack trace:
    org.apache.jasper.JasperException: /GanttFaces.jsp(18,3) Attribute binding invalid for tag ganttChart according to TLD
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:234)
         org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:989)
         org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:710)
         org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441)
    when using a binding with my custom tag:
    <jg:ganttChart binding="#{ganttFaces.ganttChart}" id="gantt1" .... >
    The error message reads as if I have to make special considerations in the TLD file to enable binding, but I can't find anything about that. Thats how my tld file looks:
    <taglib>
    <tlibversion>1.0</tlibversion>
    <jspversion>1.1</jspversion>
    <shortname>JGantt</shortname>
    <uri>http://netronic.de/jgantt/taglibJSF</uri>
    <info>My tag library </info>
    <tag>
    <name>ganttChart</name>
    <tagclass>de.netronic.jgantt.server.jsf.JGanttChartTag</tagclass>
    <info>The chart</info>
    <attribute>
         <name>id</name>
         <required>true</required>
         <rtexprvalue>false</rtexprvalue>
    </attribute>
    </tag>
    </taglib>
    Any idea what I am missing?
    Udo

    In your TLD, I do not see any binding attribute! you ahe to define it
    <attribute>
    <name>binding</name>
    <required>false</required>
    <rtexprvalue>false</rtexprvalue>
    </attribute>
    Afterwards, you should create the setter method in your tag class: setBinding(String binding)

  • Attribute styleclass invalid for tag dataTable according to TLD

    I'm trying to use the styleclass attribute for the dataTable tag as described in Sun's "Core Java Server Faces", pg 179.
    I get the error "Attribute styleclass invalid for tag dataTable according to TLD".
    Any ideas?

    Oooops. I missed the capitalisation of "C" in styleClass.
    Works now.

  • Sort list items according to predifined order

    hi all,
    I wonder is there any way to sort the items of a list
    according to a predefined order (e.g., 2,3,1)?
    Many thanks

    As far as I know the only predefined sort order is
    alphabetic. You could write a function using
    list.addAt(position,value) to add new items in the proper location
    and maintain the sort order yourself. This might involve a lot of
    looping through the target list, depends on how complex your sort
    rules are.
    I had a project where I needed to keep a list of file names
    sorted by rules other than alphabetic. I actually used a big lookup
    table (case statement) to append letters to the beginning of each
    name just before adding them to the list, the letters were stripped
    off when data was retrieved from the list. This trick allowed me to
    use list.sort() to maintain the sort order. It’s an ugly
    solution and I’m not proud of it, but it got the job done.

  • Remove tag item from xml

    Hi there,
    Iu2019ve created a program  to generate a xml file, using SDIXML_DATA_TO_DOM function. However it seems that is not working correctly because it generates an extra tag, that is called ITEM, whenever there is a table. However, every program example's that use that function, also generates that tag. Is it possible, somehow, remove it?
    Many thanks,
    Helena

    Helena:
    Actually I don't think it's wrong...
    <DOCID>
    <ITEM>
    <TYPE>AR</TYPE>
    <NUMBER>1236544</NUMBER>
    </ITEM>
    <ITEM>
    <TYPE>BI</TYPE>
    <NUMBER>1254666</NUMBER>
    </ITEM>
    </DOCID>
    Here, <ITEM></ITEM> is being used to clearly separate <TYPE> and <NUMBER> by grouping them...<DOCID> is the main parent tag, so you can't have what you want...You should generate separate XML files for each group...Like...
    <DOCID>
    <TYPE>AR</TYPE>
    <NUMBER>1236544</NUMBER>
    </DOCID>
    <DOCID>
    <TYPE>BI</TYPE>
    <NUMBER>1254666</NUMBER>
    </DOCID>
    Greetings,
    Blag.

  • Where Can I settle an enhancement to delete a sales order item according to the data in BDOC from CRM?

    Hi expert,
    I have an urgent requirement from the client.
    Delete the sales order item totally in ECC.
    I planned to implement this enhancement in ECC. Check the data in BDOC from CRM middleware, according to the user status in the order item,decide whether the item can be deleted.
    My question is,where can I settle this enhancement? The BADI name,user exit?
    Thanks in advance.
    Jerry.

    Hi Jerry,
    It may be delayed. you may found the solution.
    Use BADI CRM_DATAEXCHG_BADI and try the code in MBDOC_FILL or BAPI_FILL method.
    Regards,
    Bala

  • "No items to display" - keyword search

    I am working in cs5 and when i do a find for keyworded files i get "no items to display." If i go looking to make sure that the image has a keyword, it does, but the find keyword function isnt working. I did this:
    http://kb2.adobe.com/cps/332/332992.html
    with the exception of the last instruction... there doesnt appear to be a com.adobe.bridge[#].plist file for cs5, at least not where specified. Can anyone help?? I had this before in CS4, did the manual preference reset and it worked.

    there doesnt appear to be a com.adobe.bridge[#].plist file for cs5, at least not where specified. Can anyone help??
    When having installed the CS suite or part of it in the default application folder on root level Bridge also install in this place. Automatically the com.adobe.bridge4.plist (Bridge version 4 comes with CS5) will be installed in the preference folder in the user library (so not the system library on root level!).
    If this is not the case with you there either is something gone wrong with your install procedure or your install disk for CS.
    First restart Bridge holding down option key and choose reset preferences. This should bring back the plist file in the user library preference folder.
    And also keep in mind Bridge needs time to index files (this is only once but each new file also needs indexing, in CS5 this is much faster then prior versions btw) before search will work properly.
    And remember to point Bridge to the main folder containing al files, if you have pointed to a subfolder Bridge only search in this particular folder

  • Is there a reference of Loquendo tags (\item=...)?

    In the demo site of Loquendo I noticed special tags such as "\item=cough_01" that produce sounds. They work in Captivate, is there a full reference of these sounds available?
    Also I noticed that Umlauts (ä, ü etc.) are spoken correctly by the Loquendo demo, but not in Captivate even though its the same narrator. It seems as if Captivate converts these (ae, ue etc. ) before handing them on to the TTS engine?

    Today we have had some success. We have managed to create new entries in our *.dbl file and they have been recognised within Captivate. Now the only thing we need a hand with is a phonics generator to create the phonetics for the voice to pronounce.
    Below are the steps to get this working...
    Download the software (Freeware)
    Download SQLite 3.7.0: (You may not need this step, but it worked for me, so I just included it)
    http://www.sqlite.org/download.html
    Download SQLite Database Browser 2.0b1:
    http://sourceforge.net/projects/sqlitebrowser/
    Install both software packages.
    (SQLite Database Browser only needs to be unzipped, and can self execute from anywhere.)
    Backup database files
    Make a copy of all the files in the following folder:
    C:\Program Files (x86)\Adobe\Adobe Captivate 5\Loquendo\LTTS7\data\languages\English
    (This is incase something goes drastically wrong- better to be safe than sorry)
    Export Database to Edit
    Open SQLite Database Browser
    Open the current voice file pronunciation database (*.dbl):
    C:\Program Files (x86)\Adobe\Adobe Captivate 5\Loquendo\LTTS7\data\languages\English\EnglishGb.dbl
    When you look in the Browse Data tab, you should see that this database holds all the extra pronunciations for the voice to speak.
    Export the database to a CSV file:
    File > Export > Table as CSV file
    Press Export
    Save the file somewhere (Desktop worked for me) - make sure you give it an extension *.csv as it won't do it automatically.
    Edit the Database file
    Double click the *.csv file to open it in Excel. You should see that all the data is available.
    Scroll to the bottom of the file (Line 2836)
    Add any words you would like at the bottom of this list.
    The First column indicates the word that you wish to change the pronunciation: voyeur
    The Second column indicates the pronunciation: v w Aa: j `O:
    The Third column (we think) is the type of pronunciation - we have just kept it at "ACC" and have had no issues.: ACC
    There are further columns which can be edited - 7th provides and alternate spelling of the word (kilobyte - kb) - but these are the basics which are needed.
    Once you have added in new rows to represent the newq pronunciations, you will need to sort the list alphabetically.
    If you haven't done this before, scroll to the top of the file, highlight the top row, go to Data > Filter, and add an Auto filter. You will notice that drop down buttons appear on each column title.
    Simply select Sort A-Z by the graphemica column.
    Your new words should be now in order. Save the file (Ensure you save it as a CSV file, and not an excel file)
    Create the new database
    Here comes the destructive bit! (Make sure you have backed up these files!) Within the SQLite Database Browser delete the index file.
    Edit > Delete Index (delete idx_lessico)
    Next, delete the table.
    Edit > Delete Table (delete lessico)
    You should now have an empty database file with no data or no index file. It is now time to put the data back in and re-index the file.
    Import the data back in from the CSV file you created.
    File > Import > Table from CSV file
    Before you can continue you will have to save the file. Click OK.
    You will now be shown a sample of the data. Here you will need to:
    give the table the name of "lessico"
    Select the checkbox "Extract field names from the first line"
    Click Create
    The table will slowly be generated, and you will be told the Import is complete.
    Now you will need to create a new index for the table.
    Edit > Create Index
    Give the index the name of "idx_lessico", and click Create.
    Save the database file
    File > Save
    Now you are done! Test this to see if it works with your Captivate file...
    Now... I still need help trying to find a phoneics generator. IF ANYONE CAN FIND ONE, PLEASE LET ME KNOW.

  • Tagging Contact Sheets With Keywords

    I have 81 contact sheets, each containing 250 small images. Is there a way to use Bridge to tag the individual thumbnail images with keywords for later reference?
    And, for that matter, can someone suggest a way to break up the thumbnails into individual images?

    Why would you want to make a contact sheet of individual thumbnails and then try to figure out a way to break up the contact sheet into individual thumbnails?
    Each contact sheet is made from a video file. Each sheet contains stills from a video file, one pic for every five seconds.
    I am just trying to come up with a way to log all the visuals in a group of 81 video files. I'd like to be able to search for, say, all of the pictures of a building, or the sky, or a teakettle, or someone hugging, or the guy named Dom, and so on.

Maybe you are looking for

  • 'This file does not have a program associated with it for perfoming this action'?

    'This file does not have a program associated with it for perfoming this action. Please install a program or, if one is already installed, create an association in the Default Programs control panel". Any help? This error message has never come up be

  • How do I manually cleans the garbage of FF?

    How do I manually cleans the garbage of FF? Hi I know FF has built-in functionality to clean history, cache, cookies I know there are programs such as CCleaner that do the same I want to learn ok? When I want to clean (index.dat, Temp, Cookies, Histo

  • HP C6180 All in One Not Printing on the Network

    I have 3 wireless laptops and an HP C6180 on a wireless network. This week all 3 computers had issues intermittently trying to print. The print job would go to the que, but then it would just be an error and not print. Now today, none of the laptops

  • Driver and software not found. Please help

    Hello, I recently updates my iTunes too the latest version now my disc burner isnt working. I get an error saying disc burner and software not found. I tried to run diagnostics and have scoured the internet and forms for answer.  I have read this and

  • Writing new HTML to a page from an applet using LiveConnect, 1.3.1 Plug-i

    Has anyone been able to successfully replace a page with an applet with the dynamically generated HTML from an applet using LiveConnect and Plugin 1.3.1 in Netscape 6.2 or IE? The following works fine without plugin or with 1.4.0 beta3 plugin. Here i