472,356 Members | 1,947 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,356 software developers and data experts.

How to organise a composition analyzer in C??

Can anyone give me some ideas to organise a composition analyzer in C?
It analyses an english composition.
What functions should it include?
eg. frequency of letter/ words

thanks for help

Sep 26 '07 #1
5 1459
<jy****@gmail.comwrote:
Can anyone give me some ideas to organise a composition analyzer in C?
It analyses an english composition.
What functions should it include?
eg. frequency of letter/ words
I take it you mean a grammar analyzer? To me, a composition analyzer would
be at a higher level. such as is the beginning *at* the beginning. It still
sounds like a very ambitious task.

I think the frequency of letters would be of zero interest.
Sep 26 '07 #2
"osmium" <r1********@comcast.netschrieb im Newsbeitrag
news:5l************@mid.individual.net...
<jy****@gmail.comwrote:
>Can anyone give me some ideas to organise a composition analyzer in C?
It analyses an english composition.
What functions should it include?
eg. frequency of letter/ words

I take it you mean a grammar analyzer? To me, a composition analyzer
would be at a higher level. such as is the beginning *at* the beginning.
It still sounds like a very ambitious task.

I think the frequency of letters would be of zero interest.
Pretty important in cryptology.

Bye, Jojo
Sep 26 '07 #3
jy****@gmail.com wrote:
Can anyone give me some ideas to organise a composition analyzer in C?
It analyses an english composition.
What functions should it include?
eg. frequency of letter/ words
2007-09-16 you posted:

"I want to get some ideas to organise a composition analyzer??
eg. frequencies of letters

Thx for your suggestion"

Have you checked the replies?

--
Tor <torust [at] online [dot] no>
Sep 26 '07 #4
"Tor Rustad" wrote:
jy****@gmail.com wrote:
>Can anyone give me some ideas to organise a composition analyzer in C?
It analyses an english composition.
What functions should it include?
eg. frequency of letter/ words

2007-09-16 you posted:

"I want to get some ideas to organise a composition analyzer??
eg. frequencies of letters

Thx for your suggestion"

Have you checked the replies?
I don't think I paid any attention to your first post, there is a
significant difference in your second post. It seems possible that you
don't mean "composition" as used in general use in English. Perhaps you
should check to see if that is what you really mean. the more I think about
it the more I think you really want something else.

Word count is *conceivably* (but unlikely) of interest in composition.
Character frequency is simply way off the scale in terms of uselessness.
And your first post didn't mention word count.
Sep 26 '07 #5
jy****@gmail.com writes:
Can anyone give me some ideas to organise a composition analyzer in C?
It analyses an english composition.
What functions should it include?
eg. frequency of letter/ words
Your question isn't really about C. You want to implement something
in C, but your question is about defining just what it is you want to
implement. I don't think we can help you with that part of the
problem. You might try comp.programming.

Once you've defined what you want to do, we can probably help you do
it in C.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
Sep 26 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: fog | last post by:
Given: class A; and B "has-a" A. The composition relationship between A and B can be implemented in three ways: =================== # 1. class B {
7
by: preetam | last post by:
Hi, This question is more towards design than towards c++ details. By looking at books on design patterns and various google threads on the same topic, I see that composition is favoured to...
9
by: Code4u | last post by:
My colleagues and I have been discussing techniques for implementing interfaces in C++. We're looking for a mechanism similar to COM's QueryInterface, in which a certain types of objects can be...
1
by: Tony Johansson | last post by:
Hello experts! I know it's easy to override when you have inheritance. But if you instead use object composition having a pointer to a class X. If you want to override when having this object...
4
by: cmrchs | last post by:
Hi, how do I implement aggregation and how composition in C# ? When I say : an Airplane has a Pilot then I use aggregation but when I say : an Airplane has a Cockpit then I use composition. How...
4
by: Frederik Vanderhaegen | last post by:
Hi, Can anyone explain me the difference between aggregation and composition? I know that they both are "whole-part" relationships and that composition parts are destroyed when the composition...
2
by: Gary Wessle | last post by:
Hi what is the difference "in code writing" between aggregation and composition? is the following correct? aggregation (life time of both objects are independent). class A{ /* ... */ };...
3
by: jyck91 | last post by:
I want to get some ideas to organise a composition analyzer?? eg. frequencies of letters Thx for your suggestion
4
by: Kay Schluehr | last post by:
As you know, there is no operator for function composition in Python. When you have two functions F and G and want to express the composition F o G you have to create a new closure lambda...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it so the python app could use a http request to get...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.