You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
리뷰와 커멘트 감사합니다. 언급해주신 부분은 제 실수가 맞습니다.
용례가 태그를 begin_marker, end_marker 로 이용하고 있기 때문에 어쩌면 데이터셋에는 차이가 없을 수도 있을듯 합니다.
해당 부분 수정 후, 데이터셋의 차이가 있다면 파일을 다시 release 하겠습니다.
데이터셋의 차이가 없다면 이 이슈에 커멘트로 기록해 두겠습니다!
안녕하세요. 프로젝트 공유해주셔서 감사합니다. 잘 활용하고 있습니다.
간단한 오류인 것 같은데, split 함수에서 begin_marker와 end_marker가 같은 경우에 split이 원하는 동작이 (prefix, sub, suffix의 온전한 분리) 이루어지지 않는 것 같습니다.
e = s.index(end_marker, b)
에서아래처럼 index를 b 대신 b + len(begin_marker) 로 시작하면 될 것 같습니다.
e = s.index(end_marker, b + len(begin_marker))
(혹시나 제가 틀릴 수도 있습니다!)
감사합니다.
The text was updated successfully, but these errors were encountered: