15,902,635 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Berry Harahap (Top 26 by date)
Berry Harahap
3-Apr-13 11:27am
View
Perhaps ("D:\\Shared\rahul raj\")... Perhaps He plays pleasantry, 12.8K, huuuuft.....
Berry Harahap
3-Apr-13 11:23am
View
That makes sense Sir @Pheonyx, it means that I should consider subject (in this case Noun), verb and adverb to define tenses of sentence. Hmm, 3 variables, let's brainstorming it. It' will be harder. :(
Berry Harahap
3-Apr-13 10:33am
View
Okay Sir @Pheonyx, SharpNLP display ex : tomorrow, yesterday, last night,.. as NN (Noun). Maybe I should make a list of adverb of time and then compare it with the Verb.. But i'm still waiting new idea or make that idea elegantly.. :) :) :) Thanks a lot Sir @Pheonyx Cheers>>
But if you are welcome to let me see you code that you mean "additional checks regarding that".. It will be helpful Sir. :) :)
Berry Harahap
3-Apr-13 10:08am
View
Sir @Pheonyx, good job Sir.... How about adverb of time? Isn't important?
Berry Harahap
3-Apr-13 9:56am
View
Sir @Pheonyx, I thought about it too, VBD or VBN.. But i consider Adverb of TIME... May i see your suggestion in pseudocode Sir, as comparison.. :) :) CHeers...
Berry Harahap
2-Apr-13 0:21am
View
CNF = tbCNF.Text;
homeForm.cfg = this;
That's working. But, how i get value string CNF from cfgForm to be used in HomeForm without opening cfgForm before?
Berry Harahap
28-Mar-13 0:29am
View
Thanks a log @Kenneth Haugland
I'll try and conceive that articles. :) :) :)
Berry Harahap
28-Mar-13 0:03am
View
Any suggestion Sir @SAK?
I wanna parse English by using CYK(Cocke-Younger-Kasami) Algorithm. I should designed CNF before using that algorithm.
Berry Harahap
24-Mar-13 0:06am
View
Dear @SoMad, good job Sir. I realized it's low accuracy. So I wanna try to combine it with ruled base. :):):)
Cheers
Berry Harahap
16-Mar-13 0:26am
View
Sir @CHill60
Any suggestion for my code above (question)?
Please :) :) :)
Berry Harahap
15-Mar-13 8:57am
View
@Jegan Thiyagesan
I've search for toolTip, but it just show information, can't be clicked.
Then, I'm conceiving ContextMenuStrip. I'm not good at ContextMenuStrip, I need suggestion Sir.
If you have reference, please give me. :) :) :) Nice.
Cheers
Berry Harahap
13-Mar-13 21:39pm
View
Thanks very much Sir. :) :) :)
Berry Harahap
13-Mar-13 21:38pm
View
Thanks a lot Sir SAK, :) :) :)
Berry Harahap
13-Mar-13 3:22am
View
Sir @Sergey Alexandrovich Kryukov (SAK)..
I've modified my code like my question now (above) :).
Please give your suggestion and recommendation, because my code have a long time.
:) :) :) Cheers
Berry Harahap
13-Mar-13 1:47am
View
Sir SA, i get the point, what do you think about my code above (question), i have improve the question. :) :) :) Cheers Sir. :)
Berry Harahap
13-Mar-13 1:27am
View
Sir PIEBALDconsult, yes Sir, for spelling error. My assignment Sir. :) :) :)
Please give me recommendation, please........
Berry Harahap
13-Mar-13 0:49am
View
@PIEBALDconsult.. Nice suggestion. Please let me learn by your example please. :) :) :)
Perhaps, about HashSet or what's option to improve ReadAllLines? :) Cheers
Berry Harahap
13-Mar-13 0:26am
View
Dear Sergey Alexandrovich (SA)...
I need Dictionary for faster searching. After i created Dictionary, i wanna check definite string (input) if this string found or not in Dictionary. I think it faster than List.
What do you think, Sir?
Berry Harahap
11-Mar-13 10:10am
View
Dear @Carl Randall
Using C#, Windows Form.
:) :) :)
Berry Harahap
11-Mar-13 9:36am
View
Dear @johannesnestler..
Sorry, it means RichTextBox. :) :) :)
Berry Harahap
9-Mar-13 19:59pm
View
== Mr Andreas Gieriet ==
Your suggestion is my pleasure. Thanks a lot. :) :) :)
Berry Harahap
9-Mar-13 3:30am
View
==Dear Andreas Gieriet==
Very simple approach and good job, Sir.
Would you mind giving opinion, what do you think about this code? Which one do you choose? Your code or this code? Or any combination? Please give me recommendation.
=================================================
ArrayList arrSentence = new ArrayList();
string temp = inputRtb;
temp = temp.Replace(Environment.NewLine, " ");
char[] arrSeparator = { '.', '?', '!' };
string[] splitInput = temp.Split(arrSeparator, StringSplitOptions.RemoveEmptyEntries);
for (int i = 0; i < splitInput.Length; i++) {
int pos = temp.IndexOf(splitInput[i].ToString());
char[] oChars = temp.Trim().ToCharArray();
char charCollection = oChars[pos + splitInput[i].Length];
arrSentence.Add(splitInput[i].ToString().Trim() + charCollection.ToString());
}
==================================================
Please, sir give me recommendation.
Cheers
Andi :) :)
Berry Harahap
8-Mar-13 19:03pm
View
Dear @Mr MichaelBergsma, I'm interested to try this code. But,
List<string> sentences = new List<string>(sentences.Split(terminators, StringSplitOptions.RemoveEmptyEntries)) , There is error in sentences.Split , List<string> sentences = new List<string> doesn't contain a definition 'split' or what reference i should add Mr?
Berry Harahap
8-Mar-13 10:09am
View
@Mr. ThePhantomUpvoter : Good point Mr.
I mean that
"how to recognize when one sentence ends and another sentence begins when it has embedded punctuation marks". Hehe
BUT..
Don't exaggerate this problem scope, Mr @Mr. ThePhantomUpvoter, like this word "beyond".
I'm just amateur student.
Berry Harahap
8-Mar-13 9:37am
View
@Mr. joshrduncan2012
@Mr. ThePhantomUpvoter
If I use SplitOptions.RemoveEmptyEntries, like this example
<pre>
string[] separators = {",", ".", "!", "?", ";", ":", " "};
string value = "The handsome, energetic, young dog was playing with his smaller, more lethargic litter mate.";
string[] words = value.Split(separators, StringSplitOptions.RemoveEmptyEntries);
foreach (var word in words)
Console.WriteLine(word);
</pre>
How to recognize one sentence to another sentence? I need to divide each sentence.
Like
input = "I go to school. She go to market"
output =
arr[0] = I go to school
arr[1] = She go to market
how to recognize when one sentence ends and another sentence begins, index i=0 to i=1 ????
Berry Harahap
8-Mar-13 8:32am
View
@Santosh : Hallo.
My problem if INPUT : ...Asia
i have difficult to split it, i want the output is OUTPUT : Asia
or INPUT : Thanks...
OUTPUT : Thanks
INPUT : ..Thanks..
OUTPUT : Thanks
INPUT : Thanks
OUTPUT : Thanks
INPUT : Thanks
OUTPUT : Thanks
INPUT : !!!Thanks
INPUT : Thanks
INPUT : Thanks?????
OUTPUT : Thanks
I cant get the code for make it. Any solution?
Im just student.
Show More