Skip to content

Commit

Permalink
Fix jieba-macors publish
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Dec 25, 2024
1 parent 3a38bcb commit c81b403
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion jieba-macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use proc_macro::TokenStream;

#[proc_macro]
pub fn generate_hmm_data(_input: TokenStream) -> TokenStream {
let hmm_data = include_str!("../../src/data/hmm.model");
let hmm_data = include_str!("hmm.model");
let mut output = String::new();
let mut lines = hmm_data.lines().skip_while(|x| x.starts_with('#'));

Expand Down

0 comments on commit c81b403

Please sign in to comment.