|
Does anyone know of any Natural Language Processing open source for
C++?
at this point in my search, I will take any suggestions, even a link to a free VB source nah forget that. But maybe Java.
I have posted a question to Google answers, and they are trying to find me one too but no answer yet
Hopefully someone here knows of something I could use for the NLP part for Carl v2 I am working on, currently. Thanks.
sorry for the repost but I thought I might be able to reach some more people
Later, JoeSox www.humanaiproject.org
"Dream as if you'll live forever; live as if you'll die tomorrow."
- James Dean(ISTP)
|
|
|
|
|
Hi
I have the following problem.
In my application, I have a window in which I have several comboboxes.
When accessing the data on the server to fill them, The application was really slowed down.
So I decided to have all the loading in a thread.
Meanwhile everything is loading, I set the text for the combos.
It is OK for all of them, except one, in which all the data inferior the the text disappear from the combo.
If I load the data out of the thread everything is fine.
Any idea??
|
|
|
|
|
So the primary thread, which owns the comboboxes, spawned a secondary thread.. Is that right? Does the secondary thread try to populate the comboboxes (if so, the secondary thread will need a message pump), or does it post a message back to the primary thread (if so, remember to use PostMessage() and not SendMessage())?
To eliminate the secondary thread as a culprit, comment out the code that creates it, and have the primary thread populate the comboboxes. If the problem persists, you know the secondary thread is not to blame.
|
|
|
|
|
Hi!
I have designed a custom control (a real-time chart) and I want to associated a function handler (in the class of the window wich uses the chart) when the user clicks on the legend. So, in the class of the custom control, I added a handler for the WM_LBUTTONDOWN message and I check there if the mouse is on the legend.
If yes, I send a message to the parent window but I want this custom message appear in the ClassWizzard (like for example: OnLegendClick).
Is such a thing possible and how to implement it ??
Thanks
|
|
|
|
|
Hi!
I am using the DHTML editng control to make a WYSIWYG application.
Well my problem is that I don't know how to insert some HTML tags into the code.
The dhtml editing control gives you some functions for fonts, style,alignement,etc... but the user may need to add tables too.
I want to put a button which will open a table configuration dialog... the dialog will put all the values in a string... ( I can do it until here) and it will put the generated html tags into the html code...
Can anyone help me?
Thank you very much for your future answers!
Well... I am a beginner ...
|
|
|
|
|
Why must they uninstall the whole application just to get an updated EXE? Just have them shut down the application prior to running the setup program.
|
|
|
|
|
Hi,
Still trying to get used to programming, and still need a little help. I asked a few questions yesterday about a texteditor, but since have changed my approach.
I wanted to know how to initialize a List Box to have text in it everytime the dialog starts up. Is this possible? If it is, is there a way to space out the text that I want to appear? I want it to look like this if possible:
Team1 Team 2 Team 3 Team 4
Thanks in advance!
|
|
|
|
|
Silly me....I got the text to come up.;P
Can anyone help with the formatting though?
Thanks again
|
|
|
|
|
what do you mean by 'formatting?' if youre trying to get strings into a listbox, you can use
My_List_Box.AddString("hello");
if you mean turning off alphabetical sorting of the contents of the listbox, in the resource editor, witht he listbox selected, look in the properties window and set the 'Sort' value to False (or off, depending).
is that what you mean?
*.*
|
|
|
|
|
How you want the data formatted will govern whether you want/need to use a list box, list control, or a grid control.
Although it's possible to make a list box look like it has columns, it remains a one-column control that uses tab stops to separate the columns.
|
|
|
|
|
Sorry for not being clear...
I would like to have the words spaced out in the line of text. Just so that it is easier to read. I want it so that I do not have to manually hit the space bar between the words that i am gonna enter. Some of the information going on the lines are spaced further in that another like in the chart below.
Ideally I want my dialog box to look exactly like this:
Team 1 Team 2 Team 3 Team 4
Game 1 80 69
Game 2 79 70
Game 3 55 73
Game 4 73 82
Player #22 from Team 3 is the MVP of the tournament.
He lead the team in points, rebounds, assists and steals.
He also led the tournament in points (33.2), assists (8.9), and steals (3.2)
I thought about using a list control, but i couldn't get the last 3 sentences to appear across the columns.
THANKS IN ADVANCE!!!
|
|
|
|
|
Use an edit control with a fixed-space font.
|
|
|
|
|
Hi,
I am really new to programming, and do not fully understand how to do this. (The fix spaced font)
Can you possible give more details on how to do this? Will this get my "table" to look exactly how i want it?
Thanks again. Sorry for being slow with this. Mechanical Engineers are not the best programmers!
|
|
|
|
|
Just as an example, if you had a dialog box with an edit control, you could put the following in the dialog's OnInitDialog() method:
m_font.CreateStockObject(ANSI_FIXED_FONT);<br />
m_edit.SetFont(&m_font);
Now you just format each line that is added to the edit control.
|
|
|
|
|
Use CListCtrl instead of CListBox. With the List Control, you can create columns. In your case, you need to create 4 columns and add the data to each column individually...
Mustafa Demirhan
http://www.macroangel.com
Sonork ID 100.9935:zoltrix
<nobr>They say I'm lazy but it takes all my time
|
|
|
|
|
Hi,
I tried doing that, but is there a way for me to insert the 3 sentences that follow the chart and span them over the columns. I was originally using the list control, but could not find a way to do that.
Any help would be appreciated.
Thanks in advance
|
|
|
|
|
Hi all (again)
=-=-=-=-=-=-=-
I have a Win32 application ... (Not using MFC)
and my dialog I have a button control (IDC_MY_BUTTON)
and I need to change the color of its text...
Please Help..
BTW:
I change the buttons font using WM_SETFONT,
everything OK, but I cant change the font to "Comic Sans MS"
10q all
=-=-=-=-=-=-=
The Server
=-=-=-=-=-=-=
|
|
|
|
|
Handle WM_CTLCOLORBTN message in button's parent. Make required changes in DC passed in message parameter.
|
|
|
|
|
Hi,
I'm looking for a function to return the status of a process.
status such as Running or Not Responding.
Thank u in advance.
|
|
|
|
|
One solution is WaitForSingleObject().
Kuphryn
|
|
|
|
|
GetExitCodeProcess() returns the process's exit code, or STILL_ACTIVE if the process is running.
As for getting 'running' or 'not responding' in the sense of the Applications tab of Task Manager (in Windows NT), I think Task Manager has some kind of hook to be able to tell this. You could try using SendMessageTimeout() to send a message to the top-level window - if it responds within the timeout, it's responding. I'd suggest using either WM_NULL or a guaranteed-unique registered message from RegisterWindowMessage() - perhaps a string representation of a GUID?
--
Mike Dimmick
|
|
|
|
|
I've added a menu to a dialog application and am trying to grey out some parts of the menu. However, the call to my UPDATE_COMMAND_UI function is not called until after the the menu has been clicked. I'm guessing I have to do something different since it is a dialog app, but I don't know what and can't seem to find it. How can I do this?
Thanks in advanced
|
|
|
|
|
Hi!
This code may help you!It has everything about changing dynamically menu items:
void CExampleView::OnUpdateEditInsertolecontrol(CCmdUI* pCmdUI)
{
// TODO: Add your command update UI handler code here
// Specific for the example
pCmdUI->Enable(m_pControl == NULL);
}
void CExampleView::OnEditInsertolecontrol()
{
// TODO: Add your command handler code here
COCBrowserDoc* pDoc = GetDocument();
ASSERT_VALID(pDoc);
// Your code ...
// Change menu item (Insert OLE Object -> Delete OLE Object)
CMenu *menu;
// 'Edit' is the second submenu (index = 1)
menu = AfxGetApp()->m_pMainWnd->GetMenu()->GetSubMenu(1);
menu->ModifyMenu(ID_EDIT_INSERTOLECONTROL, MF_BYCOMMAND, ID_EDIT_DELETEOLECONTROL, "&Delete OLE Control");
}
void CExampleView::OnUpdateEditDeleteolecontrol(CCmdUI* pCmdUI)
{
// TODO: Add your command update UI handler code here
// Specific for the example
pCmdUI->Enable(m_pControl!= NULL);
}
void CExampleView::OnEditDeleteolecontrol()
{
// TODO: Add your command handler code here
// Your code ...
// Change menu item (Delete OLE Object -> Insert OLE Object )
CMenu *menu;
menu = AfxGetApp()->m_pMainWnd->GetMenu()->GetSubMenu(1);
menu->ModifyMenu(ID_EDIT_DELETEOLECONTROL, MF_BYCOMMAND, ID_EDIT_INSERTOLECONTROL, "&Insert OLE Control...");
}
I didn't write it myself I got it from this website http://cui.unige.ch/OSG/people/Past/fuentes/Mfc/mfc.html
Well... I am a beginner ...
|
|
|
|
|
I am facing problem with GDI+ bitmap memory deallocation.
delete of the the bitmap doesn't release the memory it gets accumulated and it doesn't free up the memory until i close my application.
And i end up in virtual memory problem since it eats up all the memory and crashes my application.
Please suggest a scenario where in i can delete my bitmap pointers memory and run my applicaiton without any problem.
Thanks in Advance.
|
|
|
|
|
No. You can intercept them, so as to redirect them to your app, but you can't do anything to the message itself.
~RaGE();
|
|
|
|