Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 2343c5fe authored by Benoît Sagot's avatar Benoît Sagot
Browse files

debug

parent f2373cb5
No related branches found
No related tags found
No related merge requests found
...@@ -96,12 +96,7 @@ sub altok_split_sentences { ...@@ -96,12 +96,7 @@ sub altok_split_sentences {
$s =~ s/^( +)<l\/>/$1<s type=\"li\">/g; $s =~ s/^( +)<l\/>/$1<s type=\"li\">/g;
$s =~ s/([^ ])( +)<l\/>/$1<\/s>$2<s type=\"li\">/g; $s =~ s/([^ ])( +)<l\/>/$1<\/s>$2<s type=\"li\">/g;
$s =~ s/<l\/>//g; $s =~ s/<l\/>//g;
<<<<<<< Updated upstream
=======
>>>>>>> Stashed changes
#TODO check, j'ai ajouté un espace entre <s et type="br,li" pour bien detokeniser ensuite #TODO check, j'ai ajouté un espace entre <s et type="br,li" pour bien detokeniser ensuite
$s =~ s/<s type="br"><\/s>( *)<s type="li">/$1<s type="br,li">/g; $s =~ s/<s type="br"><\/s>( *)<s type="li">/$1<s type="br,li">/g;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment