nlp_eng.hpp 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*##############################################################################
  2. HPCC SYSTEMS software Copyright (C) 2021 HPCC Systems®.
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. ############################################################################## */
  13. //#define NLP_DEBUG
  14. #ifdef NLP_DEBUG
  15. #include <iostream>
  16. #define NLP_DEBUG_FILE "/tmp/nlp_debug.txt"
  17. #endif
  18. #include<sstream>
  19. #include "jutil.hpp"
  20. #include "jmutex.hpp"
  21. using namespace std;
  22. class NLPEng
  23. {
  24. private:
  25. string workingFolder;
  26. public:
  27. NLPEng();
  28. ~NLPEng();
  29. int nlpEngAnalyze(const char *analyzerName, const char *inputText, ostringstream &sso);
  30. };