473,405 Members | 2,421 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 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 1534
<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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.