Vaporetto: Efficient Japanese Tokenization Based on Improved Pointwise Linear Classification
Akabe, Koichi, Kanda, Shunsuke, Oda, Yusuke, Mori, Shinsuke
–arXiv.org Artificial Intelligence
This paper proposes an approach to improve the runtime efficiency of Japanese tokenization based on the pointwise linear classification (PLC) framework, which formulates the whole tokenization process as a sequence of linear classification problems. Our approach optimizes tokenization by leveraging the characteristics of the PLC framework and the task definition. Our approach involves (1) composing multiple classifications into array-based operations, (2) efficient feature lookup with memory-optimized automata, and (3) three orthogonal pre-processing methods for reducing actual score calculation. Thus, our approach makes the tokenization speed 5.7 times faster than the current approach based on the same model without decreasing tokenization accuracy. Our implementation is available at https://github.com/daac-tools/vaporetto under the MIT or Apache-2.0 license.
arXiv.org Artificial Intelligence
Jun-24-2024
- Country:
- North America
- Dominican Republic (0.04)
- United States
- Pennsylvania > Philadelphia County
- Philadelphia (0.04)
- Oregon > Multnomah County
- Portland (0.04)
- Minnesota > Hennepin County
- Minneapolis (0.14)
- California > San Diego County
- San Diego (0.04)
- Pennsylvania > Philadelphia County
- Europe
- Czechia > Prague (0.04)
- Spain > Catalonia
- Barcelona Province > Barcelona (0.04)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Belgium > Brussels-Capital Region
- Brussels (0.04)
- Asia > Japan
- Kyūshū & Okinawa > Kyūshū
- Miyazaki Prefecture > Miyazaki (0.04)
- Honshū
- Tōhoku (0.04)
- Kansai > Kyoto Prefecture
- Kyoto (0.04)
- Kyūshū & Okinawa > Kyūshū
- North America
- Genre:
- Research Report (0.82)
- Technology: