projects
/
jmdict-cli.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3af70e4
)
fixed choōn
author
nille
<nmeyering@gmail.com>
Wed, 25 Feb 2009 10:34:55 +0000
(11:34 +0100)
committer
nille
<nmeyering@gmail.com>
Wed, 25 Feb 2009 10:34:55 +0000
(11:34 +0100)
jmdict.cpp
patch
|
blob
|
history
kana2romaji.cpp
patch
|
blob
|
history
diff --git
a/jmdict.cpp
b/jmdict.cpp
index 5d6818311ce39b3d39648837cfc9ef99029aa802..0a6cb9ed981f06d185573c1c1cdc3572a9bd25dd 100644
(file)
--- a/
jmdict.cpp
+++ b/
jmdict.cpp
@@
-151,6
+151,7
@@
void guessLanguage(const std::string& subject) {
options::source = options::JAPANESE_ROMAJI;
else if (options::source == options::UNKNOWN)
options::source = isUTF8 ? options::JAPANESE : options::NOT_JAPANESE;
+ //options::source = options::JAPANESE_ROMAJI;
}
int main(int argc, char** argv)
diff --git
a/kana2romaji.cpp
b/kana2romaji.cpp
index 99a46d6b9404803f011a50bc3ef270f722e08b8c..17c9aea99ba06c3d68ef3167b57356968fe5a75e 100644
(file)
--- a/
kana2romaji.cpp
+++ b/
kana2romaji.cpp
@@
-324,7
+324,7
@@
void initRomaji() {
romaji["`"] = "`";
romaji["|"] = "|";
romaji["~"] = "~";
- romaji["ー"] = "
-
";
+ romaji["ー"] = "";
romaji["。"] = ".";
romaji["、"] = ",";
romaji["〜"] = "~";