{"push_id":2391349954,"size":6,"distinct_size":6,"ref":"refs/heads/develop","head":"ca4d9f6714e4961dea72b5686c8f39895791d5f6","before":"22d14e0b4de3285e5d065c432f542399ed03da8b","commits":[{"sha":"ef05df15abdd439c444b761c9a0ba4a45640022a","author":{"name":"Jonas Sjöberg","email":"2af19daf60b5f0170a6f3a70de7988a3a69c2d96@gmail.com"},"message":"Add TODO [TD0182] on isolating 'isbnlib'.","distinct":true,"url":"https://api.github.com/repos/jonasjberg/autonameow/commits/ef05df15abdd439c444b761c9a0ba4a45640022a"},{"sha":"f2cc78f2f29a21974f33c58f289b0b9a03e016ab","author":{"name":"Jonas Sjöberg","email":"2af19daf60b5f0170a6f3a70de7988a3a69c2d96@gmail.com"},"message":"Factor out 'isbnlib' functionality to new module.\n\nAdds a new module 'services' in the source root.\n\nThis module should contain third-party services for querying APIs.\n\nMost of the 'isbnlib' functionality is moved from 'analyze_ebook.py'\nto a new file 'services/isbn.py'.\n\nThis should be cleaned up and designed as to provide an interface\nto *any* ISBN metadata service provider, not just 'isbnlib'.\nThe interface should also handle take care of verifying that the\nservices are available and other service-specific details such as\nrate-limiting, etc.\n\nReferences TODO-list item [TD0182].","distinct":true,"url":"https://api.github.com/repos/jonasjberg/autonameow/commits/f2cc78f2f29a21974f33c58f289b0b9a03e016ab"},{"sha":"ddc932242fbaa9f75683e3775fa9d9b9a8cc6776","author":{"name":"Jonas Sjöberg","email":"2af19daf60b5f0170a6f3a70de7988a3a69c2d96@gmail.com"},"message":"Add 'TextChunker' class.\n\nAdds a new 'TextChunker' class that splits text into even chunks.\n\nSplits multi-line text into smaller chunks.\n\nExample usage:\n\n    chunker = _get_text_chunker('A\\nB\\nC\\nD\\nE\\n', 0.5)\n    assert chunker[0] == 'A\\nB\\n'\n    assert chunker[1] == 'C\\n'\n    assert chunker[2] == 'D\\nE\\n'\n    assert chunker.leading == 'A\\nB\\n'\n    assert chunker.trailing == 'D\\nE\\n'\n    assert len(chunker) == 3\n\nThe chunk sizes (number of text lines in each chunk) is calculated from\nthe chunk to text ratio as CHUNK_SIZE = LINES_IN_TEXT * CHUNK_RATIO\n\nThe number of lines in the first and last chunks should match the chunk\nsize exactly, while the number of lines in the center chunks might vary\na bit so that the total number of chunks is more predictable.\n\nReferences TODO-list item [TD0134].","distinct":true,"url":"https://api.github.com/repos/jonasjberg/autonameow/commits/ddc932242fbaa9f75683e3775fa9d9b9a8cc6776"},{"sha":"5c59680490c232a3509352651cbb22d3a873e093","author":{"name":"Jonas Sjöberg","email":"2af19daf60b5f0170a6f3a70de7988a3a69c2d96@gmail.com"},"message":"Refactor text chunking in the 'EbookAnalyzer'.\n\nReplaces ad-hoc text chunking with the 'TextChunker' class.\n\nFactors out extracting ISBN numbers from text into a separate method.\n\nReferences TODO-list item [TD0134].","distinct":true,"url":"https://api.github.com/repos/jonasjberg/autonameow/commits/5c59680490c232a3509352651cbb22d3a873e093"},{"sha":"3e6fb3e11f47e2e7ba1ae143cedbf748df0d9685","author":{"name":"Jonas Sjöberg","email":"2af19daf60b5f0170a6f3a70de7988a3a69c2d96@gmail.com"},"message":"Add filtering lines in the 'DocumentAnalyzer'.","distinct":true,"url":"https://api.github.com/repos/jonasjberg/autonameow/commits/3e6fb3e11f47e2e7ba1ae143cedbf748df0d9685"},{"sha":"ca4d9f6714e4961dea72b5686c8f39895791d5f6","author":{"name":"Jonas Sjöberg","email":"2af19daf60b5f0170a6f3a70de7988a3a69c2d96@gmail.com"},"message":"Use 'TextChunker' in the 'DocumentAnalyzer'.\n\nRefactor text chunking in the 'DocumentAnalyzer'.\n\nReplaces ad-hoc text chunking with the 'TextChunker' class.\n\nCompletes TODO-list item [TD0134] on consolidating splitting\nup text into \"chunks\".","distinct":true,"url":"https://api.github.com/repos/jonasjberg/autonameow/commits/ca4d9f6714e4961dea72b5686c8f39895791d5f6"}]}
{"actor":{"display_login":"jonasjberg"}}