Forum: Java Aug 14th, 2007 |
| Replies: 3 Views: 5,570 I think it's better to save every paragraph as a different insert in a table. |
Forum: Java Aug 14th, 2007 |
| Replies: 3 Views: 5,570 Actually I want to make some searches and for this reason and because of file length I think that is better to save text into database.
Searches like find the 10th, 100th word of text.
Which... |
Forum: Java Aug 13th, 2007 |
| Replies: 3 Views: 5,570 Hi,
I want to save a .txt file into database using java language, how can it is possible ?
The .txt file has one word per line and I would like when the program find a string like "<P>" to... |
Forum: Database Design Jun 27th, 2007 |
| Replies: 2 Views: 2,640 BOOK1=select *
from BOOKS
where $price<=20;
BOOK2=select *
from BOOKS
where ($price >=20.01)AND($price<=50);
BOOK3=...
BOOK4=... |
Forum: Database Design Jun 27th, 2007 |
| Replies: 2 Views: 2,640 Hi,
Iwould like somebody to help me with this exercise :
Consider the following relations:
BOOKS (Book#, Primary_author, Topic, Total_stock, $price)
BOOKSTORE (Store#, City, State, Zip,... |
Forum: Java Jun 8th, 2007 |
| Replies: 8 Views: 9,109 Hi,
I would like to ask if anyone knows how can I delete empty lines from a file.
I thought that I have to crate a loop like
FileInputStream fstream = new FileInputStream("input.txt");... |
Forum: Java Jun 7th, 2007 |
| Replies: 5 Views: 4,076 Thanks a lot Ezzaral for your help.
The program works nearly perfect.
The only problem I have is that I can't replace character '.'.
I read that fullstop is special character and so I have to... |
Forum: Java Jun 6th, 2007 |
| Replies: 5 Views: 4,076 Thanks a lot for your answer.
I would like to ask you something more about split parameter.
How can I make a regular expression that delete the words that is like I. II. III. IV. .... and <P... |
Forum: Java Jun 6th, 2007 |
| Replies: 5 Views: 4,076 Hi,
I would like to help me with a problem I have.
I want to make a program that tokenize the text of an input file and create a new file with all the words (one word per line).
Because in... |
Forum: C++ Jun 1st, 2007 |
| Replies: 4 Views: 778 The file is something like that :
<P ID=1>
CONTENTS
</P>
<P ID=2>
VOLUME I
</P>
<P ID=3>
BOOK FIRST.--A JUST MAN |
Forum: C++ May 31st, 2007 |
| Replies: 4 Views: 778 Hi,
I would like to ask if anyone know how can I create a tokenizer for a txt file in C++.
I find it difficult because there are not only words but there are also numbers and <p id> tags.
I... |