extract meaning of a word in C# [closed] - c#

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I m doing a project which invoves extracting the semantics of a word. While doing some resaerch I found out it's better to get Synonyms of a word rather than trying to extract semantics.
What is the best way of doing this. I only need to get the synonym of a word.
Please help.

Find a thesaurus. Pay attention to its licensing. E.g., Roget's Thesaurus. There may be one that is better-suited to being parsed programmatically.
Parse the thesaurus. For example, you could might store it in a Dictionary<string,List<string>>.
Look up entries as needed. How this is done depends on what data structure you stored it in. It's pretty easy in a Dictionary.
If you have trouble with a specific step in this process, feel free to ask. Your question is a bit too open-ending for me to know exactly what part to focus on.

Related

Already Existing User in MVC3 razor [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am doing project MVC3 razor whaen I was inserting the data that would be saved in database.If the user is already in database that username should't be saved in database and one error msg has to be displayed how can I write the code for this?
You open up your favourite code editor and type away. Unless you don't have fingers - in which case I don't know.
(Anticipating -1's)
In all seriousness, though (and this should be a comment but because I've added an answer I'm going to put it here) - how can you expect anybody here to give you a straight answer to this question. You have not supplied any code, no information about your database schema, you haven't shown what you've tried (so we're assuming you've tried nothing). Ultimately this is a type of question repeated many many times here on SO and it always gets treated the same way - occasionally sarcastic comments - and I really do try not to do that any more, so sorry on this occasion - and closed within approximately 5 minutes.

C# / .NET built-in interfaces list [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I'm looking for full C# standard interfaces list. I'm almost sure that such topic was posted somewhere on MSDN, but I can't find it. Does anyone has a reference?
im sorry but such doc does not exist...
See, msdn documentation is organized by "namespaces", so... you can see that such document would not fit anywhere... by the way, why would you want that?!? if you compile the documents of each interface in the basics dll (system, text, system.data, linq, etc...) you would have a quite large document that would cause more confusion than "de-confusion", since in diferent namespaces interfaces may have the same name...

C# loop through the registry searching for keys containing certain text [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Is it possible to go through the registry and copy the names of all keys found with a certain text?
For example, say I had keys under SOFTWARE of item1, item2, item fred, item34 etc. Am I able to do a search under software for all keys containing the word item and save their name to a variable, where I can later display these items on a winform of detected software.
Microsoft.Win32.RegistryKey pathKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(#"SOFTWARE");
Not that I want someone to code it for me, rather give me a starting place for the loop.
Try looking at this StackOverFlow Link it appears that the individual has come up with a way to look for "VisualStudio" hope this helps
How to Query Registry for a Specific Key(s)

How to read a specific number from a HTML page [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
for example , if I wanted to set the Index value from this page:
http://ca.finance.yahoo.com/q;_ylt=Agfc5O8HHTlOLgX.q6V4HEtyzJpG;_ylu=X3oDMTFkdnZqMHBkBHBvcwMyBHNlYwN5ZmlNYXJrZXRTdW1tYXJ5RnJvbnRwYWdlBHNsawNzcHRzeA--?s=^GSPTSE
to a variable, how can I do that??
I am VERY NEW to programming, I would really appreciate if you explained every line.
My point isnt to get it done, I want to understand it.
Thank you very much in advance!
If you look at the source code of the web page, you find that the index number is within a span tag which has a unique id: <span id="yfs_l10_^gsptse">13,702.33</span>.
This means that you can scrape the page and then single out that individual tag.
You need to start by connecting to the host and downloading the page. The way in which you do this depends on which language you're using. There are plenty of tutorials around - just search for "[language] web scraping".
Then you need to create a Document Object Model from the html source code - again, this depends on the language, it's easy in some and difficult in others. Once you've done that, simply search for the tag with an id of yfs_l10_^gsptse and grab the content.
Hope that helps - obviously there's a lot I haven't said, but it depends what language you want to use.

How to get to the top of C#? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 13 years ago.
How can I become an expert in C# and any language I learn?
Also, what are some recommended books....?
Is really easy. Learn all features of the language, then study the framework and read when to apply each feature.
A great place to start is the Head First series.
The Head First C# book is totally awesome. I learned a lot from it, and it's super easy, comprehensive (and fun!) to read. (Amazon Link)
Then just start a project on your own and apply what you learned. You will pick up faster than you think you can!
Good luck on your quest!

Categories