Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_noun_postprocessing.py 에서 josapath, suffixpath 코드 수정 건의 #145

Open
cvcatullus opened this issue Mar 7, 2023 · 0 comments

Comments

@cvcatullus
Copy link

pyinstaller로 패키징하는 과정에서 path separate가 불일치 되는 경우가 발생합니다.

[대상 코드]

  1. 파일명 : _noun_postprocessing.py
  2. 해당 코드 : josapath = filepath + '/frequent_enrolled_josa.txt'
  3. OS: MS windows 10

[현상]
pyinstaller로 패키징 했을때, 경로가 자동 변경 되면서,
pyinstaller에서 생성하는 경로구분자와 위의 '/'가 불일치하면서 파일을 찾지 못함

\soynlp//noun/frequent_enrolled_josa.txt

[변경 요청 코드]
josapath = os.path.join(filepath, 'frequent_enrolled_josa.txt')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant