Refactor text chunking implementation and update configuration
- Moved SentenceTextChunker and SentenceTextChunkerConfig to the utils module for better organization. - Updated pytest.ini to include the current directory in the Python path. - Added a new utils module with shared utility helpers. - Adjusted import paths in the test files to reflect the new location of text chunking classes.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from src.voice.text_chunker import SentenceTextChunker, SentenceTextChunkerConfig
|
||||
from src.utils.text_chunker import SentenceTextChunker, SentenceTextChunkerConfig
|
||||
|
||||
|
||||
def test_chinese_sentence_chunks_wait_for_lookahead():
|
||||
|
||||
Reference in New Issue
Block a user