Search:

Type: Posts; User: tonionio

Search: Search took 0.08 seconds.

  1. Replies
    9
    Views
    1,430

    [SOLVED] Re: JAVA Text File Processing with REGEX

    Any suggestions?

    As I can see with an if loop I will have to create a quite big number of pattern/matcher block and then have the exceptions that will replace the ending of the word for each one....
  2. Replies
    9
    Views
    1,430

    [SOLVED] Re: JAVA Text File Processing with REGEX

    Yes it is,

    Its basically and algorithm I need in order to process Last names from a DB that I have in a txt file and then have them in all forms in order to achieve better recognition results. So...
  3. Replies
    9
    Views
    1,430

    [SOLVED] Re: JAVA Text File Processing with REGEX

    private static void printScannedLines(final List<String> scannedLines){
    //matching kai printing edw
    String replace1 = "άκη";

    for(String item : scannedLines){
    Pattern namePattern =...
  4. Replies
    9
    Views
    1,430

    [SOLVED] Re: JAVA Text File Processing with REGEX

    Thank you for your answer.

    I got it to work but I am now facing an other problem.

    Lets say that we have a single entry (below) in the text file.

    -john

    My code can match the 2 last...
  5. Replies
    9
    Views
    1,430

    [SOLVED] Re: JAVA Text File Processing with REGEX

    Ι am trying to reach somewhere, when I do I will post the code!

    I have some code for reading the .txt file, some for the regex and some for writing to the output txt but the problem is that I...
  6. Replies
    9
    Views
    1,430

    [SOLVED] JAVA Text File Processing with REGEX

    I am new in Java (some experience but not essential) and I am trying to build a small app that will do the following: Lets say that I have a list of names in a .txt file like the following:

    ...
Results 1 to 6 of 6