http://www.wiredgadget.com/blog/design/paper/default/style.css

tangocho20

2008年03月11日

機能確認用のサンプル英文ページ

 『B-単』は、本来ブラウザ(IE)上でマウスの右ボタンクリックメニューから起動するものですが、そのためにはレジストリへエントリを追加しなければなりませんので、それを行わなくても機能の確認ができるサンプルページをこちらに用意しました。(3/14からこちらの開発日誌と、ブログ単語帳のどのページでもダブルクリックすれば『B-単』が起動するようにしました)

 このページには、調べたい単語をダブルクリックすると『B-単』が立ち上がるようにJavaScriptを記述してあります。起動されるアプリケーションは、マウスの右ボタンクリックで起動されるものと基本的に同じものです。

 一度起動されてしまえば、IEでも、FireFoxでも動作致します。


※現在のところ、単語の語形変化に対応できておりません。過去形の"ed"や、三単元の"s"などが付いていますと「ヒットしませんでした。」というメッセージが表示されますが、単語欄は編集可となっておりますので、単語の末尾を修正して「再検索」ボタンを押すことで検索することができます。

 次のページ以降が英文ページになっています。


Constitution of the United States

Section 1

All legislative Powers herein granted shall be vested in a Congress of the United States, which shall consist of a Senate and House of Representatives.

Section 2

Clause 1:

The House of Representatives shall be composed of Members chosen every second Year by the People of the several States, and the Electors in each State shall have the Qualifications requisite for Electors of the most numerous Branch of the State Legislature.

Clause 2:

No Person shall be a Representative who shall not have attained to the Age of twenty five Years, and been seven Years a Citizen of the United States, and who shall not, when elected, be an Inhabitant of that State in which he shall be chosen.

Clause 3:

Representatives and direct Taxes shall be apportioned among the several States which may be included within this Union, according to their respective Numbers, which shall be determined by adding to the whole Number of free Persons, including those bound to Service for a Term of Years, and excluding Indians not taxed, three fifths of all other Persons.2 The actual Enumeration shall be made within three Years after the first Meeting of the Congress of the United States, and within every subsequent Term of ten Years, in such Manner as they shall by Law direct. The Number of Representatives shall not exceed one for every thirty Thousand, but each State shall have at Least one Representative; and until such enumeration shall be made, the State of New Hampshire shall be entitled to chuse three, Massachusetts eight, Rhode-Island and Providence Plantations one, Connecticut five, New-York six, New Jersey four, Pennsylvania eight, Delaware one, Maryland six, Virginia ten, North Carolina five, South Carolina five, and Georgia three.

Clause 4:

When vacancies happen in the Representation from any State, the Executive Authority thereof shall issue Writs of Election to fill such Vacancies.

Clause 5:

The House of Representatives shall chuse their Speaker and other Officers; and shall have the sole Power of Impeachment.

Section 3

Clause 1:

The Senate of the United States shall be composed of two Senators from each State, chosen by the Legislature thereof,3 for six Years; and each Senator shall have one Vote.

Clause 2:

Immediately after they shall be assembled in Consequence of the first Election, they shall be divided as equally as may be into three Classes. The Seats of the Senators of the first Class shall be vacated at the Expiration of the second Year, of the second Class at the Expiration of the fourth Year, and of the third Class at the Expiration of the sixth Year, so that one third may be chosen every second Year; and if Vacancies happen by Resignation, or otherwise, during the Recess of the Legislature of any State, the Executive thereof may make temporary Appointments until the next Meeting of the Legislature, which shall then fill such Vacancies.4

投稿者 wiredgadget : 11:58

tangocho20

2007年04月18日

 『B-単』の概要を図で示します

全体構成図
 (図をクリックすると拡大表示します)


1.辞書を引く
 PCに『B-単』をインストールしておくと、英文サイトを読んでいて分からない単語があったとき、マウスの右ボタンクリックで表示されるメニューから『B-単』を起動することができるようになります。

 『B-単』は、英文から「単語」と、「単語を含む英文」を取り出し、ネットを通してイースト辞書Webサービスにアクセスして単語の意味を取得し表示します。


2.単語帳に保存
 通常、複数の意味が表示されますが、ユーザは単語帳に保存すべき適当な意味を選択するか、または自分で手入力することによって単語帳の裏面を作成することができます。
 単語帳に保存する準備ができたら、「単語帳に保存」ボタンを押して、その単語(とその意味)をネット上の単語帳に保存します。

サンプル:
 このEnglishという単語をダブルクリックして見て下さい。『B-単』が起動してEnglishの意味を表示します。
 合衆国憲法でサンプル英文ページを作りました。2ページ目以降が英文になっています。


3.携帯や、PCで学習
 ネット上の単語帳を、携帯電話や、PCからアクセスすることで単語の学習ができます。
 その単語を「覚えた」か、「覚えいていない」か、「もう一歩」なのかをチェックできますので、効率よく単語学習ができます。

単語帳サンプル:
 PC版は、こちら
 携帯版は、PC版の単語帳のサイドバーにQRコードがあります。

投稿者 wiredgadget : 11:31 | トラックバック (0)

tangocho20

2007年03月21日

ブログサービスとの接続確認をしてみました

 ドリコムブログについては、ブログ単語帳として使えるか確認済みでしたが、他のブログでも同様にできるのかいくつかのブログサービスで確認してみました。

○ドリコム(確認済み)
 http://tangocho20.blog.drecom.jp/ 
 携帯電話からもいい感じで見ることができる。
 “続きを読む...”で、日本語の意味を見ることができる。
 postするとき作成日付(dateCreated)のタイプエラーになってしまうので作成日付を渡さないようにした。

○ココログ
 http://tangocho20.cocolog-nifty.com/
 “続きを読む...”で、日本語の意味を見ることができる。 携帯電話からの参照には対応していないようだ。(もしどなたか携帯からの参照方法を御存知でしたら教えて下さい。)

○FC2ブログ
 http://tangocho20.blog97.fc2.com/
 “続きを読む...”で、日本語の意味を見ることができる。
 携帯電話からも参照できる。

○JUGEM
 http://tangocho20.jugem.jp/
 postする際、追記(mt_text_more)に対応していないが、追記は日本語の意味の項目として使用しているので日本語の意味が保存できない。
 携帯電話からも参照できる。

○gooブログ
 http://blog.goo.ne.jp/superadministrator/
 postする際、追記(mt_text_more)に対応していないが、追記は日本語の意味の項目として使用しているので日本語の意味が保存できない。
 携帯電話からも参照できる。

 JavaScriptが使えるブログサービスはほとんどないので、チェックの結果を保存できないところが難点ですが、テンプレートの入れ替えで手軽にデザインの変更ができるのがうれしいです。

投稿者 wiredgadget : 14:47

INDEX

カテゴリー: / 全て /  『B-単』開発日誌 / 
前頁 次頁