What type of collection can I use to store a word and a string as it's valu

I am writing a grammar checking application. What kind of collection can I use to store the word and the type of word as it's value.
e.g.(book = noun) (clean = adjetive) (of = predicate) (took = verb)
or should I use a collection as they type and add the words in each different collection?
you advice is greatly appreciated.
thanks,
steve

class "Contradiction" contains two variables, the String and what Type was assumed
Algorithm:
Parse out next word
Find all possible meanings/types of word
Assume first meaning is true, continue (think [push])
If clause, call clauseParse all over again (think [push])
Return parsed structure when done, (think [pop])
If Contradiction rises to top of sentence, there is a grammer problem. Now switch into grammer correction mode.
If a word can be interpreted two different ways, don't worry about it as long as it's right either way.
To test for similar-sounding words, use something like SoundX
_Tim                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • What type of file can be used with file generator in Motion 4?

    Regarding using the File Generator in Motion 4, what type of file can be used? After clicking the browse button in the inspector tab,
    all files appear greyed out and are not selectable.
    Thanks!
    Richard

    Cool. Thanks GFXZen. I was stumped by TextEdit saving files in rich text format. Here is an article on how to save in plain text from TextEdit:
    http://support.apple.com/kb/TA20406

  • Whats types of inputs can be used with DAQ 6527? (PNP or NPN)

    I need to know what types of input device (PNP or NPN) can be used with a DAQ 6527.

    Greetings,
    The digital inputs of the 6527 require TTL signals. As long as your device, whether it be a pnp or npn transistor, outputs a TTL signal, it will be compatible.
    Regards,
    Justin Britten
    Applications Engineer
    National Instruments

  • What type of monitors can I use with the Mac Mini?

    Hello,
    I was thinking on purchasing a Mac Mini. I was not sure if the monitor I have at work with function with the Mac Mini. It is a: 20" ViewSonic Professional Series P815...
    Does anyone know if this monitor will work with any Mac Mini? Is there an adapter for it?
    Thanks.

    It would be fine for them all - all minis have come with DVI video connectors and adapters to convert that to VGA, so aside from the possibility that the Viewsonic might suffer the greyish or dull screen problem that affected a small(ish) proportion of displays with the first generation mini, it should connect up using the adapter just fine, and be correctly recognized by the system.

  • What type of field can I use???

    What is the best type of field to use in 7.5 that a user can select one or many items. We use the ABO (Asset Based Order) version of 7.5 eMedia and I have a request to dynamically pull the products on a given order onto a new field (Product) to be added at the Service Request level, that will pull in products ONLY on that order. Is that even possible to do and what field would be best?

    Hi,
    i understand that you will create a new field in Service Request, where you get the product information based on order related in SR.
    If you create a MVG (MVL fields) structure to return the informations?
    Regards

  • What type of iviews can be used with WPC?

    Can  BSP, WebDynpro ABAP and JAVA  can be added using WPC? Are there any limitations? How about Object Base navigation?

    That's a very broad statement! Do you mean that you cannot deploy any web dynpro content at all, even if it is launched as a URL iView?
    As I said, you need to try your own content.

  • What type of ram can i use?

    everywhere i look online, says my ms-6528 only supports pc-133 sdram, even in my manual, it says only pc-133 sdram, but on the box itself i have, it says supports pc-133sdram & ddr sdram. so is this a typo, or do they mean its built for pc-133 OR ddr? thanks

    What the?  I've got the exact same mainboard (MS-6528 LE) and the box says "Supports either SDR SDRAM up to 3GB or DDR SDRAM up to 2GB".  This seems to me that there would be two separate types of slots, one for the SDR and one for DDR.  However, looking on the website and looking even in the manual, it says nothing about DDR.  I'm looking to buy some DDR SDRAM for Christmas, so is it not going to fit in the board?  Jeez, this seems like a ripoff.  Buy the board because it says it can handle DDR, and now I fing out the box was lying!

  • What Type of Antenna can I use that will go through trees?

    I have two buildings that are just out of line of site...I need an antenna that can go through a couple of trees....the trees are not on our land so we cannot cut them down. I am using 1300 series Wireless Bridges.
    Thank You

    There isn't!! you can either raise the height of both APs to clear the fresnel zone or the other option is to use other NLOS technology however from past experience even these suffer badly from foliage degradation.
    Good Luck

  • What type of Class can I use?

    Hi,
    Here is my dilemma.. I have 2 classes.. We can call them Policy and Quote. I need to have them on the session. I also have a class, BusinessModel, that will also hold onto these "same" objects. This way I can pass BusinessModel around with all the objects I require in my app..
    My dilemma is, If I have many users, how do I keep many instances of the session for both the BusinessModel and the individual objects?
    Thank you in advance!
    Jim

    Hi,
    Here is my dilemma.. I have 2 classes.. We can call
    them Policy and Quote. I need to have them on the
    session. I also have a class, BusinessModel, that
    will also hold onto these "same" objects. This way I
    can pass BusinessModel around with all the objects I
    require in my app..BusinessModel is an object that has references to Policy and Quote objects. Right?
    My dilemma is, If I have many users, how do I keep
    many instances of the session for both the
    BusinessModel and the individual objects?Depends on what your understanding of the problem.
    If there is one session per user, and every user has their own instances of BusinessModel, Policy, and Quote, then you have one for each user.
    If you mean that somehow all users should be looking at the same BusinessModel, Policy, and Quote (funny requirement), then it's not a session thing. They're more like application scope objects.
    When you say "session" it's a loaded term for me. I immediately think of users as web clients, and "session" is a javax.servlet.Session object. Is that what you mean?
    %

  • What type of partition should I use? Range or Hash or ..?

    Hi,
    I am on Oracle 8.1.7.4 .
    I have a table with 10 million rows and looks like its a good candidate for partitioning.
    There is a varchar2 column and the data is evenly distributed on the string value. If I want to partition the table on that string value what type of partitioning can I use. How can I give the range, if I use range partition, on the string value ?
    Can/Should I use hash partitioning?
    I know that there is a list partitioning in O9i, but I am on 8i.
    Please help.
    Regards

    <quote>
    I have a table with 10 million rows and looks like its a good candidate for partitioning.
    </quote>
    Table volume, in itself, is not enough to warrant partitioning … hope you have some other reasons.
    <quote>
    … but would like to partition the table on the mentioned varchar2 column, so that queries would be efficiant.
    </quote>
    Since you don’t mention the actual query or class of queries, maybe it is worth mentioning that partitioning could speed up some queries but also can slow down a lot more other queries.
    <quote>
    So, how can i re-create the table partitioned on a varchar2 column
    </quote>
    No different than numbers or dates?
    create table tp
    ( str   varchar2(10)  not null
    ,fill  char(20)      not null
    partition by range(str)
    ( partition p1 values less than ('F')
    ,partition p2 values less than ('L')
    ,partition p3 values less than ('R')
    ,partition p4 values less than (maxvalue)
    insert into tp
    select substr(object_name,1,10), lpad('x',20,'x')
    from user_objects
    flip@FLOP> select * from tp partition (p2);
    STR        FILL
    F1         xxxxxxxxxxxxxxxxxxxx
    GENERATE_R xxxxxxxxxxxxxxxxxxxx
    IPSDEV.US. xxxxxxxxxxxxxxxxxxxxThe link to Tom’s article is fine … it just happens to be one of the few threads he’s not mentioning that partitioning is not the magic fast=true mechanism … look for some other articles on partitioning and you’ll quickly discover his views on this subject.
    There may be a case for partitioning … but you haven’t presented any reasonable justification for it … so, why bother?

  • What type of Data target is used when the safety interval is used?

    Hi ,
    what type of Data target is used when the safety interval is used in generic delta in datasource?DSO or cube  or cube?
    Pls explain me ?
    Thanks,
    Nimai

    It's up to your reporting requirement to go for dso or cube..
    I prefer to having staging with DSO and then further reporting on Cube ..
    It's always easier to manage when you have any changes to the cube .. you need not to extract data from R/3 .. if you have dso you can extract directly to cube
    Another thing is -for any reason some of your records got corrupted so you can have full loads to dso which has the overwrite functionality...  and sends delta records to cube. even in cube you can do selective deletion but we have to very careful to avoid double records in next loads
    Edited by: Srinivas on Jul 29, 2010 8:23 PM

  • What type of shows can you get on Apple TV?

    What type of shows can you get on Apple TV?
    Now question is about the content one can get with Apple TV< if we switched.
    presently live in Canada.
    Can one get the News on Apple TV, such as CTV< cbc etc?
    Can one watch. Daily soap operas on Apple TV?
    Are all shows only streamed from Itunes for Apple TV? or what other services can u access with Apple TV?
    For type of TV, what type of TV does one need to access Apple TV<

    You can purchase TV shows and rent movies from iTunes on Apple TV. You can access Netflix. There is also Youtube, Podcasts etc.
    See
    http://www.apple.com/ca/appletv/
    If you own an IOS device then you can use airplay with compatible apps (i.e. Global) If you have an iPad 2 (or later) or iPhone 4S you can mirror most content to the screen.
    As long as you have an HDTV capable of at least 720P you're good to go.

  • What type of pen do you use to take notes on a notetaking app like enotebook

    What type of pen do you use on your ipad for a handwriting app like enotebook?

    You want what's called a stylus. There are a huge variety of styli available; just make sure that the one you get works with iPad (pretty much all of them will say they work with iPad on the packaging). I personally just grabbed the cheapest one at Staples, but you can see a bunch of styli here: http://www.theverge.com/2012/4/10/2925937/best-stylus-ipad-review

  • What type of files can be downloaded to the iPhone?

    I have some recorded business webinars I would like to listen to on my iPhone. What type of files can be downloaded? If they are saved on my computer do I use iTunes to get them to the phone?

    The iPhone supports the following audio & video files:
    Audio formats supported: AAC, Protected AAC, MP3, MP3 VBR, Audible (formats 2, 3, and 4), Apple Lossless, AIFF, and WAV
    Video formats supported: H.264 video, up to 1.5 Mbps, 640 by 480 pixels, 30 frames per second, Low-Complexity version of the H.264 Baseline Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; H.264 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Baseline Profile up to Level 3.0 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats
    To get the files onto the iPhone just add them to your iTunes library. From there you can copy them over to the iPhone.

  • What Internal hard drive can I use to upgrade my macbook pro 2010

    what Internal hard drive can I use to upgrade my macbook pro 2010

    You may use any 2.5" SATA notebook drive not higher than 12.5 mm that uses either 1.5 or 3.0 Gb/s interface. Visit OWC for available options and prices.

Maybe you are looking for

  • How to pass the table name dynamically in xml parsing

    Hi All, I have created one procedure for parsing xml file which is working perfectly. FORALL i IN t_tab.first .. t_tab.last          INSERT INTO Test_AP VALUES t_tab(i);Now I want to put the table name dynamically+. For that I have added one query an

  • Partial payment of prepayment or advance

    Hi all, Does anyone have a good workaround for partially paying a prepayment in AP? Any helpful answer is appreciated! Luka

  • Out of Sync after Red Frames

    I'm capturing HD footage from an FX1 camera into my computer. Each clip is appx. 1 hour long (the length of a MiniDV tape). Almost every clip has red frames, after which the audio is always out of sync. Yet when I play the clips in Windows Media Play

  • How to connect iMac G5 and iMac rev d, OS 8.6?

    Hello. Just bought an iMac G5 and would like to share/transfer files between the two. Is this possible with the OS that I have? Thanks.

  • Using RFBIBL01 for assignment Profitability Segment

    Hi, All. Please, tell me, how I can send data like Profit Center, Material, Material Group and others, to Profitability Segment. I use RFBIBL01 for it. My programm change external file in format of RFBIBL01 and then submit rfbibl01. But here are any