alexlausz
alexlausz
@aoiy 你上面的代码是针对使用jieba分词的情况,请问如果不使用jieba(cut=False)而使用全文解析(_full_text_extract),要怎么修改? 例如: addr_str = ‘黑龙江省安达市朝阳街168号’ df = cpca.transform([addr_str], pos_sensitive=True, cut=False, lookahead=8, open_warning=False) da = df.to_dict(orient='records') print('cpca: {}'.format(da)) # [{'省': '黑龙江省', '市': '朝阳市', '区': '安达市', '地址': '街168号', '省_pos': 0, '市_pos':...
> @alexlausz 这个问题已经解决了,使用 `pip install -U cpca` 将 cpca 更新到最新版本就行了 。 > > ```python > >>> import cpca > >>> cpca.transform(["黑龙江省安达市朝阳街168号"]) > 省 市 区 地址 adcode > 0 黑龙江省...
请问作者 @DQinYuan 对于 issue #70 有临时的解决办法吗?
> In a py.test code I can specify some file that can be used for some tests. So in the conftest.py I define > > ``` > def pytest_addoption(parser): >...
I'm a user from China. I encountered the same problem when running the Reflex project using npm in the Ubuntu 24.04 environment of Windows 11 WSL2.  Besides, I'll explain...
try this: ``` class State(rx.State): @rx.cached_var def id(self) -> str: return self.router.page.params.get("id", "") @rx.var def title(self) -> str: return f"Page {self.id}" ```
最新版tiny rdm运行后无响应,无报错,无界面 -- 版本 Windows 11 专业版 版本号 23H2 安装日期 2024/1/17 操作系统版本 22631.3737 体验 Windows Feature Experience Pack 1000.22700.1009.0
> > ## 最新版tiny rdm运行后无响应,无报错,无界面 > > 版本 Windows 11 专业版 版本号 23H2 安装日期 2024/1/17 操作系统版本 22631.3737 体验 Windows Feature Experience Pack 1000.22700.1009.0 > > 看看系统日志有没有什么报错崩溃信息?有试过更新webview2吗 webview2 是最新的  应用程序和系统日志中也没有报错日志...