Skip to content
Snippets Groups Projects
Select Git revision
  • b402146a3ed9c0e11d2c25fe29fb94cc9a4f37c7
  • master default protected
  • develop protected
  • feat_remove_attr
  • python2.7
  • python3.8
6 results

tokensource.h

Blame
  • user avatar
    ilor authored
    9dfe1051
    History
    tokensource.h 1.05 KiB
    /*
        Copyright (C) 2010 Tomasz Śniatowski, Adam Radziszewski
        Part of the libcorpus2 project
    
        This program is free software; you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published by the Free
    Software Foundation; either version 3 of the License, or (at your option)
    any later version.
    
        This program is distributed in the hope that it will be useful, but
    WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
    or FITNESS FOR A PARTICULAR PURPOSE. 
    
        See the LICENSE and COPYING files for more details.
    */
    
    #ifndef LIBCORPUS2_TOKEN_SOURCE_H
    #define LIBCORPUS2_TOKEN_SOURCE_H
    
    #include <libpwrutils/tokensource.h>
    
    namespace Corpus2 {
    
    /// forward declaration
    class Token;
    
    /// typedef for a Corpus2 Token TokenSource, based on the general template
    typedef PwrNlp::TokenSourceTemplate<Token> TokenSource;
    
    /// pull RangeSource and make_range_source into our namespace
    using PwrNlp::RangeSource;
    using PwrNlp::make_range_source;
    
    } /* end ns Corpus2 */
    
    #endif // LIBCORPUS2_TOKEN_SOURCE_H