I am not an expert on this part of the code, but I believe the idea is that 
there are multiple characters that can end a sentence (in English, think .!?). 
So it might be looking if any of the characters in the text match any of the 
end of sentence characters.
Daniel

On 2/8/17, 10:01 AM, "ABHISHEK MAITI" <[email protected]> wrote:

    Hi!
    I was going through the codebase which is present on Github. I found a line
    in this
    
<https://github.com/apache/opennlp/blob/master/opennlp-tools/src/main/java/opennlp/tools/sentdetect/DefaultEndOfSentenceScanner.java>
    file which I couldn't understand (line no. 31).Is it supposed to be char
    eosCharacters[]? I was expecting it to be char[] eosCharacters.
    
    Thanks!
    
    *Abhishek Maiti*
    *B.Tech 2016 | Computer Science and Engineering*
    Indraprastha Institute Of Information Technology
    New Delhi
    +918447549121
    

Reply via email to