Comments (4)
It's not tested on macos. The error info shows that the macos got problem when using standard library of 'unordered_map'
from pg_jieba.
how can fix it ?
from pg_jieba.
I met this problem too ,is that a verson problem of gcc?
from pg_jieba.
manual modified the code may fix this problem
--- a/libjieba/jieba/limonp/StdExtension.hpp
+++ b/libjieba/jieba/limonp/StdExtension.hpp
@@ -3,16 +3,6 @@
#include
-#ifdef APPLE
-#include <unordered_map>
-#include <unordered_set>
-#elif(__cplusplus == 201103L)
-#include <unordered_map>
-#include <unordered_set>
-#elif defined _MSC_VER
-#include <unordered_map>
-#include <unordered_set>
-#else
#include <tr1/unordered_map>
#include <tr1/unordered_set>
namespace std
@@ -20,8 +10,6 @@ using std::tr1::unordered_map;
using std::tr1::unordered_set;
}
-#endif
#include
#include
#include
from pg_jieba.
Related Issues (20)
- pg11
- pg 11.5 不支持 HOT 10
- pg 10.10 不支持 HOT 7
- make 出错 HOT 1
- CentOS 7 + PostgreSQL 12,cmake失败 HOT 5
- Freebsd 12 + PostgreSQL 12, 编译后无法使用 HOT 1
- Space character (" ") on stop-word list acts like a separator instead of a character
- Postgresql 13下版本号问题 HOT 3
- centos7 + pg13, make: 未知的类型名‘sigjmp_buf’ HOT 1
- to_tsquery有没有办法精确搜索?
- ts_headline与预期结果不同
- 如何集成到greenplum
- postgres14 分词和预期结果不一致 HOT 5
- 在postgres14中使用jieba分词,ts_headline中将原文一些词给隐藏了 HOT 1
- 怎么支持postgresql版本15呢 HOT 2
- ubuntu 18 PG15 版本下无法编译 HOT 1
- 还维护吗? HOT 2
- Compile warning: ‘DefineCustomConfigVariables’ was used with no prototype before its definition [-Wmissing-prototypes]
- Feature Request: Support PG16 HOT 4
- 报告BUG
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pg_jieba.